Skip to content

Commit

Permalink
Test body error perpetuation through finalizers.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Dec 14, 2015
1 parent 42a8bd5 commit c7b6df0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions t/cadence/finalizer.t.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ function prove (assert) {
cadence(function (async) {
async([function () {
cleanup++
throw new Error('finalizer')
}], function () {
throw new Error('body')
return 1
})
})(function (error) {
assert(error.message, 'body', 'body error perpetuated')
Expand Down

0 comments on commit c7b6df0

Please sign in to comment.