Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go
This commit is contained in:
parent
efc97dbda2
commit
d4b00b722a
|
@ -293,7 +293,7 @@ func TestFileExistsLocally(t *testing.T) {
|
|||
Output bool
|
||||
}{
|
||||
// file exists locally
|
||||
{fmt.Sprintf("file:///%s/SomeDir/myfile.txt", portablepath), true},
|
||||
{fmt.Sprintf("file://%s/SomeDir/myfile.txt", portablepath), true},
|
||||
// remote protocols short-circuit and are considered to exist locally
|
||||
{"https://myfile.iso", true},
|
||||
// non-existent protocols do not exist and hence fail
|
||||
|
|
Loading…
Reference in New Issue