Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: test/mjsunit/array-splice.js

Issue 669162: An attempt to fix the tests. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/array-splice.js
diff --git a/test/mjsunit/array-splice.js b/test/mjsunit/array-splice.js
index 887097db61c151d82a41ffb11f9b17395954130b..dda53a05c759c85a9960d5414bc6ccb361250aaa 100644
--- a/test/mjsunit/array-splice.js
+++ b/test/mjsunit/array-splice.js
@@ -31,13 +31,13 @@
var array = new Array(10);
var spliced = array.splice(1, 1, 'one', 'two');
assertEquals(1, spliced.length);
- assertFalse(0 in spliced, "0 in spliced");
+ assertFalse(0 in spliced, "0 in spliced: " + spliced);
assertEquals(11, array.length);
- assertFalse(0 in array, "0 in array");
+ assertFalse(0 in array, "0 in array: " + array);
assertTrue(1 in array);
assertTrue(2 in array);
- assertFalse(3 in array, "3 in array");
+ assertFalse(3 in array, "3 in array: " + array);
}
})();
« no previous file with comments | « src/builtins.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698