Index: test/mjsunit/regress/regress-2711.js |
diff --git a/test/mjsunit/regress/regress-2711.js b/test/mjsunit/regress/regress-2711.js |
index a58e789745bc34289711ebe56270735631345b5e..d5ac2baa336139173f6ad4afc2f4ab40e9c9ebf6 100644 |
--- a/test/mjsunit/regress/regress-2711.js |
+++ b/test/mjsunit/regress/regress-2711.js |
@@ -27,7 +27,7 @@ |
// Test that frozen arrays don't let their length change |
var a = Object.freeze([1]); |
-a.push(2); |
+assertThrows(function() { a.push(2); }, TypeError); |
assertEquals(1, a.length); |
-a.push(2); |
+assertThrows(function() { a.push(2); }, TypeError); |
assertEquals(1, a.length); |