Index: test/mjsunit/regress/regress-447561.js |
diff --git a/test/mjsunit/regress/regress-447561.js b/test/mjsunit/regress/regress-447561.js |
index 0d7a321de0255805485053e6dfd618ad7fec6261..e1a5ba5aa59e633f2187bfc496a840a94f7f2589 100644 |
--- a/test/mjsunit/regress/regress-447561.js |
+++ b/test/mjsunit/regress/regress-447561.js |
@@ -3,8 +3,8 @@ |
// found in the LICENSE file. |
__proto__ = /foo/gi; |
-assertEquals("foo", source); |
-assertTrue(global); |
-assertTrue(ignoreCase); |
-assertFalse(multiline); |
+assertThrows(function() { source }); |
+assertThrows(function() { global }); |
+assertThrows(function() { ignoreCase }); |
+assertThrows(function() { multiline }); |
assertEquals(0, lastIndex); |