Assert faster than Require

This commit is contained in:
Anton Tayanovskyy 2021-11-19 18:38:10 -05:00
parent 55665f76fe
commit 2ca67aadc1

View file

@ -447,7 +447,7 @@ func TestSerializePropertyValue(t *testing.T) {
v := gen.Draw(t, "property value").(resource.PropertyValue)
t.Logf("Drawn v resource.PropertyValue: %v\n", spew.Sdump(v))
_, err := SerializePropertyValue(v, config.NopEncrypter, false)
require.NoError(t, err)
assert.NoError(t, err)
})
}