diff options
Diffstat (limited to 'js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js')
-rw-r--r-- | js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js b/js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js index 5c4f9a8234..666bd56e9e 100644 --- a/js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js +++ b/js/src/tests/test262/annexB/built-ins/RegExp/prototype/compile/this-cross-realm-instance.js @@ -16,9 +16,7 @@ assert.throws( TypeError, function () { RegExp.prototype.compile.call(otherRealm_regexp); - }, - "`RegExp.prototype.compile.call(otherRealm_regexp)` throws TypeError" -); + }); assert.throws( other.TypeError, |