Navigation Menu

Skip to content

Commit

Permalink
Make async promise test assertion more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Sep 23, 2016
1 parent ee3f916 commit acf9853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpt/mozilla/tests/mozilla/promise.html
Expand Up @@ -60,7 +60,7 @@
t.resolvePromiseDelayed(p, 'success', 100);
return p.then(function(v) {
var end = Date.now();
assert_true(end - start > 100);
assert_greater_than_equal(end - start, 100);
assert_equals(v, 'success');
});
}, 'Native promise from async callback can be resolved');
Expand Down

0 comments on commit acf9853

Please sign in to comment.