From feb9a365976cc59dcbf21bb0835f67b8c3ccaaf1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 16 Sep 2014 10:06:44 -0700 Subject: [PATCH] config/module: tests to verify that params are preserved on files --- config/module/detect_file_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/module/detect_file_test.go b/config/module/detect_file_test.go index 6ccd49f4fc..02a6ccec28 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"