Skip to content

Commit

Permalink
Removed an extra '/' from the TestFileExistsLocally test in common/co…
Browse files Browse the repository at this point in the history
…nfig_test.go
  • Loading branch information
arizvisa committed Feb 3, 2018
1 parent efc97db commit d4b00b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4b00b7

Please sign in to comment.