The test is meant to fail if the folder already exists
This commit is contained in:
parent
ca16f33fa3
commit
a42215981e
|
@ -39,7 +39,7 @@ func TestOutputConfigPrepare_exists(t *testing.T) {
|
|||
PackerForce: false,
|
||||
}
|
||||
errs := c.Prepare(testConfigTemplate(t), pc)
|
||||
if len(errs) != 0 {
|
||||
t.Fatal("should not have errors")
|
||||
if len(errs) == 0 {
|
||||
t.Fatal("should have errors")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue