diff --git a/test/built-ins/Promise/try/throws.js b/test/built-ins/Promise/try/throws.js index 4ec3a3225d..9dc211490f 100644 --- a/test/built-ins/Promise/try/throws.js +++ b/test/built-ins/Promise/try/throws.js @@ -13,7 +13,7 @@ asyncTest(function () { return assert.throwsAsync( Test262Error, function () { - Promise.try(function () { throw new Test262Error(); }) + return Promise.try(function () { throw new Test262Error(); }) }, "error thrown from callback must become a rejection" );