mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
see what's wrong with that weird test
This commit is contained in:
parent
a9255c6ebe
commit
f1c0a9cdbd
1 changed files with 2 additions and 2 deletions
|
|
@ -494,11 +494,11 @@ func TestProvisioner_RemoteFileDefaultsToScriptnnnn(t *testing.T) {
|
|||
remoteFileRegex := regexp.MustCompile("script_[0-9]{4}.sh")
|
||||
|
||||
if !remoteFileRegex.MatchString(p.config.RemoteFile) {
|
||||
t.Fatalf("remote_file did not default to script_nnnn.sh")
|
||||
t.Fatalf("remote_file did not default to script_nnnn.sh: %q", p.config.RemoteFile)
|
||||
}
|
||||
|
||||
if !remoteFileRegex.MatchString(p.config.RemotePath) {
|
||||
t.Fatalf("remote_path did not match script_nnnn.sh")
|
||||
t.Fatalf("remote_path did not match script_nnnn.sh: %q", p.config.RemotePath)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue