config/module: tests to verify that params are preserved on files

This commit is contained in:
Mitchell Hashimoto 2014-09-16 10:06:44 -07:00
parent ac19a488d2
commit feb9a36597
1 changed files with 2 additions and 0 deletions

View File

@ -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"