summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regexp-call-as-function.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/regexp-call-as-function.js')
-rw-r--r--deps/v8/test/mjsunit/regexp-call-as-function.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/regexp-call-as-function.js b/deps/v8/test/mjsunit/regexp-call-as-function.js
index add81ac25d..4cbe7f94f3 100644
--- a/deps/v8/test/mjsunit/regexp-call-as-function.js
+++ b/deps/v8/test/mjsunit/regexp-call-as-function.js
@@ -33,4 +33,4 @@ var regexp = /a(b)(c)/;
var subject = "xyzabcde";
var expected = 'abc,b,c';
assertEquals(expected, String(regexp.exec(subject)));
-assertThrows(function(){ regexp(subject); });
+assertEquals(expected, String(regexp(subject)));