You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
We've slowly been becoming less happy about Expectation as our assertion syntax.
It might be a good idea to involve a new assertion library and syntax, like the one from Busted, which is more flexible. Some examples from Busted:
-- deep check comparisons!assert.are.same({ table="great"}, { table="great" })
-- or check by reference!assert.are_not.equal({ table="great"}, { table="great"})
assert.truthy("this is a string") -- truthy: not false or nilassert.True(1==1)
assert.is_true(1==1)
assert.falsy(nil)
assert.has_error(function() error("Wat") end, "Wat")
The text was updated successfully, but these errors were encountered:
We've slowly been becoming less happy about
Expectation
as our assertion syntax.It might be a good idea to involve a new assertion library and syntax, like the one from Busted, which is more flexible. Some examples from Busted:
The text was updated successfully, but these errors were encountered: