Skip to content

Commit

Permalink
test: fix broken test after ospec update (#2031)
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac authored Nov 29, 2017
1 parent d27cb4b commit 0cc69c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise/tests/test-promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ o.spec("promise", function() {
callAsync(function() {resolve(promise)})
})

promise.then(null, done)
promise.then(null, function() { done() })
})
o("non-function onFulfilled is ignored", function(done) {
var promise = Promise.resolve(1)
Expand Down

0 comments on commit 0cc69c9

Please sign in to comment.