Reviewers: Toon Verwaest,

Description:
Fix array-iteration test case.


[email protected]
BUG=v8:2282


Please review this at https://chromiumcodereview.appspot.com/10827295/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/mjsunit/array-iteration.js


Index: test/mjsunit/array-iteration.js
diff --git a/test/mjsunit/array-iteration.js b/test/mjsunit/array-iteration.js index 0ee2e6e9ac3925d8b67c464f45a53d4959578616..033bb5443a7417e21ed3388aa14cf300db972a5e 100644
--- a/test/mjsunit/array-iteration.js
+++ b/test/mjsunit/array-iteration.js
@@ -40,7 +40,7 @@
   // Simple use.
   var a = [0,1];
   assertArrayEquals([0], a.filter(function(n) { return n == 0; }));
-  assertArrayEquals(a, a);
+  assertArrayEquals([0,1], a);

   // Use specified object as this object when calling the function.
   var o = { value: 42 }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to