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

Unified Diff: tests/lib/convert/unicode_tests.dart

Issue 649113005: Make JSON parsing work as a chunked conversion sink. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Fix bug. Created 6 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 | « tests/lib/convert/json_utf8_chunk_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/convert/unicode_tests.dart
diff --git a/tests/lib/convert/unicode_tests.dart b/tests/lib/convert/unicode_tests.dart
index 47bd5108f0db4ae42edcae5c9dc527166bbf4e6c..a7500165bac748294f3aba11790612ca3d580f62 100644
--- a/tests/lib/convert/unicode_tests.dart
+++ b/tests/lib/convert/unicode_tests.dart
@@ -88,7 +88,7 @@ List<List> _expandTestPairs() {
assert(2 == BEE_STRING.length);
var tests = [];
tests.addAll(_TEST_PAIRS);
- tests.addAll(_TEST_PAIRS.expand((test) {
+ tests.addAll(_TEST_PAIRS.map((test) {
var bytes = test[0];
var string = test[1];
var longBytes = [];
@@ -97,7 +97,7 @@ List<List> _expandTestPairs() {
longBytes.addAll(bytes);
longString += string;
}
- return [test, [longBytes, longString]];
+ return [longBytes, longString];
}));
return tests;
}
« no previous file with comments | « tests/lib/convert/json_utf8_chunk_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698