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

Unified Diff: test/mjsunit/third_party/string-trim.js

Issue 273033: Fixed trim test failure. (Closed)
Patch Set: Created 11 years, 2 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 | « 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/third_party/string-trim.js
diff --git a/test/mjsunit/third_party/string-trim.js b/test/mjsunit/third_party/string-trim.js
index 1a8d35768606dac81414dd136911d40e58fa7b75..234dff6dcd7608a0dcf0e3c26a7291d92b3a15f5 100644
--- a/test/mjsunit/third_party/string-trim.js
+++ b/test/mjsunit/third_party/string-trim.js
@@ -96,7 +96,7 @@ assertEquals(rightTrimString.trim(), testString);
assertEquals(rightTrimString.trimLeft(), testString);
assertEquals(rightTrimString.trimRight(), rightTrimString);
-var testValues = [0, Infinity, NaN, true, false, ({}), ['an','array']
+var testValues = [0, Infinity, NaN, true, false, ({}), ['an','array'],
({toString:function(){return 'wibble'}})
];
« 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