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/regress/regress-swapelements.js

Issue 5891001: Fix presubmit error. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-swapelements.js
===================================================================
--- test/mjsunit/regress/regress-swapelements.js (revision 6020)
+++ test/mjsunit/regress/regress-swapelements.js (working copy)
@@ -29,7 +29,7 @@
// http://code.google.com/p/chromium/issues/detail?id=66099.
function Item(val) {
- this.value = val;
+ this.value = val;
}
@@ -38,17 +38,17 @@
function myToString() {
- array1.splice(0, 1);
- return this.value.toString();
+ array1.splice(0, 1);
+ return this.value.toString();
}
function test() {
- for (var i = 0; i < size; i++) {
- array1[i] = new Item(i);
- array1[i].toString = myToString;
- }
- array1.sort();
+ for (var i = 0; i < size; i++) {
+ array1[i] = new Item(i);
+ array1[i].toString = myToString;
+ }
+ array1.sort();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698