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,
|
PackerForce: false,
|
||||||
}
|
}
|
||||||
errs := c.Prepare(testConfigTemplate(t), pc)
|
errs := c.Prepare(testConfigTemplate(t), pc)
|
||||||
if len(errs) != 0 {
|
if len(errs) == 0 {
|
||||||
t.Fatal("should not have errors")
|
t.Fatal("should have errors")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue