config/module: tests to verify that params are preserved on files
This commit is contained in:
parent
ac19a488d2
commit
feb9a36597
|
@ -10,8 +10,10 @@ func TestFileDetector(t *testing.T) {
|
||||||
Output string
|
Output string
|
||||||
}{
|
}{
|
||||||
{"./foo", "file:///pwd/foo"},
|
{"./foo", "file:///pwd/foo"},
|
||||||
|
{"./foo?foo=bar", "file:///pwd/foo?foo=bar"},
|
||||||
{"foo", "file:///pwd/foo"},
|
{"foo", "file:///pwd/foo"},
|
||||||
{"/foo", "file:///foo"},
|
{"/foo", "file:///foo"},
|
||||||
|
{"/foo?bar=baz", "file:///foo?bar=baz"},
|
||||||
}
|
}
|
||||||
|
|
||||||
pwd := "/pwd"
|
pwd := "/pwd"
|
||||||
|
|
Loading…
Reference in New Issue