test: fix broken test after ospec update (#2031)

This commit is contained in:
Pat Cavit 2017-11-28 21:20:27 -08:00 committed by Pierre-Yves Gérardy
parent 4a72829985
commit d8d5ca3991

View file

@ -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)