summaryrefslogtreecommitdiff
path: root/pkg/config/yaml_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/yaml_test.go')
-rw-r--r--pkg/config/yaml_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/yaml_test.go b/pkg/config/yaml_test.go
index 4fc501a..ded9453 100644
--- a/pkg/config/yaml_test.go
+++ b/pkg/config/yaml_test.go
@@ -212,6 +212,8 @@ func TestUnmarshal(tst *testing.T) {
c.FeedOptions.MinFreq = 6
return c
}()},
+ {name: "Known config with invalid feed-options",
+ inp: "options:\n max-frequency: 6", wantErr: true, config: config{}},
{name: "Config with feed",
inp: `
something: 1