lunarmodules / luassert

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

Fix chained assertions not being evaluated correctly #21

Closed nilnor closed 11 years ago

nilnor commented 11 years ago

E.g. is_true, is_not_nil, etc. Assertions using chains would previously always succeed (as reported in Olivine-Labs/busted#67 and Olivine-Labs/busted#68).

Also rewrote the logic for parsing out the valid keys from an assertion string.

ajacksified commented 11 years ago

100 points to @nilnor.