assert_not_blank/2 is a great idea since its error message can be customized to fit the assertion. assert not_blank(schema, field) on the otherhand would produce an unhelpful "Expected truthy, got false" error message.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Updated the missing
import
. Thanks!assert_not_blank/2
is a great idea since its error message can be customized to fit the assertion.assert not_blank(schema, field)
on the otherhand would produce an unhelpful"Expected truthy, got false"
error message.