assert
Assertion utilities. No require() needed. All raise error() on failure.
assert.eq(a, b, msg?)— Asserta == bassert.ne(a, b, msg?)— Asserta ~= bassert.gt(a, b, msg?)— Asserta > bassert.lt(a, b, msg?)— Asserta < bassert.contains(str, sub, msg?)— Assert string contains substringassert.not_nil(val, msg?)— Assert value is not nilassert.matches(str, pattern, msg?)— Assert string matches regex pattern