engine: resources: Improve error message in test

Nothing major, just improve testing here.
This commit is contained in:
James Shubin
2019-10-29 04:13:27 -04:00
parent d1c5a736ae
commit d96392f65e

View File

@@ -639,7 +639,7 @@ func TestResources2(t *testing.T) {
return errwrap.Wrapf(e, "error from CheckApply did not match expected")
}
if checkOK != expCheckOK {
return fmt.Errorf("result from CheckApply did not match expected: `%t` != `%t`", checkOK, expCheckOK)
return fmt.Errorf("result from CheckApply did not match expected: got: %t exp: %t", checkOK, expCheckOK)
}
return nil
}