Assert faster than Require
This commit is contained in:
parent
55665f76fe
commit
2ca67aadc1
|
@ -447,7 +447,7 @@ func TestSerializePropertyValue(t *testing.T) {
|
||||||
v := gen.Draw(t, "property value").(resource.PropertyValue)
|
v := gen.Draw(t, "property value").(resource.PropertyValue)
|
||||||
t.Logf("Drawn v resource.PropertyValue: %v\n", spew.Sdump(v))
|
t.Logf("Drawn v resource.PropertyValue: %v\n", spew.Sdump(v))
|
||||||
_, err := SerializePropertyValue(v, config.NopEncrypter, false)
|
_, err := SerializePropertyValue(v, config.NopEncrypter, false)
|
||||||
require.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue