mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-30 18:08:21 -04:00
Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user