#1520 ospec: report duplicate test names

This commit is contained in:
Leo Horie 2017-01-08 13:05:27 -05:00
parent 3bac29bf78
commit 9ad16858a5
9 changed files with 16 additions and 61 deletions

View file

@ -27,7 +27,7 @@ o.spec("promise", function() {
o(promise instanceof Promise).equals(true)
})
o("static resolve returns promise", function() {
o("static reject returns promise", function() {
var promise = Promise.reject()
promise.catch(function() {})
@ -141,7 +141,7 @@ o.spec("promise", function() {
done()
})
})
o("non-function onFulfilled is ignored", function(done) {
o("non-function onFulfilled with no second param is ignored", function(done) {
var promise = Promise.resolve(1)
promise.then(null).then(function(value) {