redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

bugfix: capture skip results in teardown blocks #148

Closed kellyredding closed 10 years ago

kellyredding commented 10 years ago

This fixes a bug where and skip calls in teardown blocks would produce error results. This tweaks the teardown block exception handling to specifically look for and capture skip results.

Closes #137.

@jcredding ready for review.

jcredding commented 10 years ago

@kellyredding - Nice :boom: It's a little odd to put a skip in the teardown but assert shouldn't error if you do. Good stuff.