lunarmodules / luassert

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

Fix has_error to match entire error string #91

Closed o-lim closed 9 years ago

o-lim commented 9 years ago

This fixes has_error to match against the entire error string (removing any 'file:line: ' prefix) instead of just finding a sub-string.