diff --git a/config/module/detect_file_test.go b/config/module/detect_file_test.go index 6ccd49f4f..02a6ccec2 100644 --- a/config/module/detect_file_test.go +++ b/config/module/detect_file_test.go @@ -10,8 +10,10 @@ func TestFileDetector(t *testing.T) { Output string }{ {"./foo", "file:///pwd/foo"}, + {"./foo?foo=bar", "file:///pwd/foo?foo=bar"}, {"foo", "file:///pwd/foo"}, {"/foo", "file:///foo"}, + {"/foo?bar=baz", "file:///foo?bar=baz"}, } pwd := "/pwd"