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

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

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/array-sort.js ('k') | test/mjsunit/array-unshift.js » ('j') | 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 0e307b5d3d8a28b4055a76ec49b9d1f4ac71ecae..f87373ec2af0ada382158ba57d5efef918eeb667 100644
--- a/test/mjsunit/array-splice.js
+++ b/test/mjsunit/array-splice.js
@@ -67,7 +67,7 @@
(function() {
var array;
for (var i = 0; i < 7; i++) {
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([], array.splice());
assertEquals([1, 2, 3], array);
@@ -75,31 +75,31 @@
// given differently from when an undefined delete count is given.
// This does not follow ECMA-262, but we do the same for
// compatibility.
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([1, 2, 3], array.splice(0));
assertEquals([], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([1, 2, 3], array.splice(undefined));
assertEquals([], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([1, 2, 3], array.splice("foobar"));
assertEquals([], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([], array.splice(undefined, undefined));
assertEquals([1, 2, 3], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([], array.splice("foobar", undefined));
assertEquals([1, 2, 3], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([], array.splice(undefined, "foobar"));
assertEquals([1, 2, 3], array);
- array = [1, 2, 3]
+ array = [1, 2, 3];
assertEquals([], array.splice("foobar", "foobar"));
assertEquals([1, 2, 3], array);
}
« no previous file with comments | « test/mjsunit/array-sort.js ('k') | test/mjsunit/array-unshift.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698