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

Unified Diff: test/mjsunit/tools/csvparser.js

Issue 548198: Rewrite CsvParser.parseLine to make it simpler and gain some performance improvement. (Closed)
Patch Set: Created 10 years, 11 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 | tools/csvparser.js » ('j') | tools/csvparser.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/tools/csvparser.js
diff --git a/test/mjsunit/tools/csvparser.js b/test/mjsunit/tools/csvparser.js
index db3a2eba30e0c66475e8650baeb5b2bea69810e1..6ac490805fbbb8156258680edeebb72346434c4c 100644
--- a/test/mjsunit/tools/csvparser.js
+++ b/test/mjsunit/tools/csvparser.js
@@ -77,3 +77,7 @@ assertEquals(
assertEquals(
['code-creation','RegExp','0xf6c21c00','826','NccyrJroXvg\\/([^,]*)'],
parser.parseLine('code-creation,RegExp,0xf6c21c00,826,"NccyrJroXvg\\/([^,]*)"'));
+
+assertEquals(
+ ['code-creation','Function','0x42f0a0','163',''],
+ parser.parseLine('code-creation,Function,0x42f0a0,163,""'));
« no previous file with comments | « no previous file | tools/csvparser.js » ('j') | tools/csvparser.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698