Assertion failures cause internal error under set -u conditions
dzuelke opened this issue · comments
To reproduce:
set -u
describe "foobar"
it "maybe succeeds"
assert equal true false
end
end
This leads to an internal failure:
foobar
maybe succeeds
/usr/local/bin/shpec: line 137: _shpec_assertion_printed: unbound variable