From eaa361b983dd3cea4a5eb879fb542c550411fc62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 8 Jan 2022 20:16:00 +0100 Subject: Add test for fix of 180aa45d40 --- pkg/config/yaml_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') diff --git a/pkg/config/yaml_test.go b/pkg/config/yaml_test.go index 4f9fe76..b02c4c4 100644 --- a/pkg/config/yaml_test.go +++ b/pkg/config/yaml_test.go @@ -34,6 +34,7 @@ func TestBuildOptions(tst *testing.T) { {"Simple copy", nil, Options{MinFreq: 75}, Options{MinFreq: 75}, nil}, {"Unknowns", Map{"foo": 1}, Options{}, Options{}, []string{"foo"}}, {"Override", Map{"include-images": true}, Options{InclImages: false}, Options{InclImages: true}, nil}, + {"Non-Standard Type", Map{"body": "both"}, Options{}, Options{Body: "both"}, nil}, {"Mixed", Map{"min-frequency": 24}, Options{MinFreq: 6, InclImages: true}, Options{MinFreq: 24, InclImages: true}, nil}, {"All", Map{"max-frequency": 12, "include-images": true, "ignore-hash": true, "obsolete": 54}, -- cgit v1.2.3