From acf98539f256a48e759998acf9014809531b2e7f Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 23 Sep 2016 00:41:02 -0400 Subject: [PATCH] Make async promise test assertion more specific --- tests/wpt/mozilla/tests/mozilla/promise.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/wpt/mozilla/tests/mozilla/promise.html b/tests/wpt/mozilla/tests/mozilla/promise.html index 1a68bdb9baa..fa16edc8b1e 100644 --- a/tests/wpt/mozilla/tests/mozilla/promise.html +++ b/tests/wpt/mozilla/tests/mozilla/promise.html @@ -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');