The test is meant to fail if the folder already exists

This commit is contained in:
Taliesin Sisson 2015-06-21 14:32:48 +01:00
parent ca16f33fa3
commit a42215981e
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}
}