lunarmodules / luassert

Assertion library for Lua
MIT License
206 stars 77 forks source link

Make assert.has_error print the actual and expected errors on failure #64

Closed tbastos closed 9 years ago

tbastos commented 9 years ago

It used to print "Expected error to be thrown." in the case of an error mismatch, which was misleading. Now it always prints which error was caught and what was expected.

ajacksified commented 9 years ago

Thanks! :+1:

ajacksified commented 9 years ago

Ignore failed travis, is actually good. CI fluke.