Index: test/mjsunit/cyclic-error-to-string.js |
diff --git a/test/mjsunit/cyclic-error-to-string.js b/test/mjsunit/cyclic-error-to-string.js |
index 2502b5340fd87ca4601160027f4435c6f443b452..7c43fc580e8378f00cfe22ba80f3948c726f8b21 100644 |
--- a/test/mjsunit/cyclic-error-to-string.js |
+++ b/test/mjsunit/cyclic-error-to-string.js |
@@ -36,11 +36,11 @@ e.name = e; |
e.message = e; |
e.stack = e; |
e.arguments = e; |
Lasse Reichstein
2011/10/26 07:40:24
Why .stack and .arguments? They don't seem to affe
Michael Starzinger
2011/10/26 09:30:20
Done.
|
-assertEquals(': ', e + ''); |
+assertEquals('', e + ''); |
Lasse Reichstein
2011/10/26 07:40:24
Seems a little odd that we can get ": " when neith
Michael Starzinger
2011/10/26 09:30:20
I agree, having a more sensible string representat
|
e = new Error(); |
e.name = [ e ]; |
e.message = [ e ]; |
e.stack = [ e ]; |
e.arguments = [ e ]; |
-assertEquals(': ', e + ''); |
+assertEquals('', e + ''); |
Lasse Reichstein
2011/10/26 07:40:24
Add a test to check the sequence of visible operat
Michael Starzinger
2011/10/26 09:30:20
Done (added with slight modifications).
|