Index: test/mjsunit/stack-traces-overflow.js |
diff --git a/test/mjsunit/stack-traces-overflow.js b/test/mjsunit/stack-traces-overflow.js |
index af81971af1ee902e1a8b3f0e31c5bc1495ef23c4..706f8fcef914b2a59d866161401f400e96691e64 100644 |
--- a/test/mjsunit/stack-traces-overflow.js |
+++ b/test/mjsunit/stack-traces-overflow.js |
@@ -75,9 +75,9 @@ try { |
function testErrorPrototype(prototype) { |
var object = {}; |
object.__proto__ = prototype; |
- object.stack = "123"; // Overwriting stack property fails. |
- assertEquals(prototype.stack, object.stack); |
- assertTrue("123" != prototype.stack); |
+ object.stack = "123"; // Overwriting stack property succeeds. |
+ assertTrue(prototype.stack != object.stack); |
+ assertEquals("123", object.stack); |
} |
try { |