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

Unified Diff: tests/standalone/io/stdin_sync_test.dart

Issue 40323002: Remove dart:json (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Bad merge in convert/json.dart, a few other bugs. Updated co19 expectations. Created 7 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/standalone/io/stdin_sync_script.dart ('k') | tests/utils/json_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/stdin_sync_test.dart
diff --git a/tests/standalone/io/stdin_sync_test.dart b/tests/standalone/io/stdin_sync_test.dart
index c0477c01ffe781d7fdd9b39145f870188feecce6..5d14509dd7e41d03fc6fe759144b09844c7946aa 100644
--- a/tests/standalone/io/stdin_sync_test.dart
+++ b/tests/standalone/io/stdin_sync_test.dart
@@ -4,7 +4,6 @@
import "dart:convert";
import "dart:io";
-import "dart:json";
import "package:path/path.dart";
@@ -13,7 +12,7 @@ void testReadByte() {
var script = join(dirname(Platform.script), "stdin_sync_script.dart");
Process.start(Platform.executable,
["--checked", script]..addAll(
- expected.map(stringify))).then((process) {
+ expected.map(JSON.encode))).then((process) {
process.stdin.write(line);
process.stdin.close();
process.stderr
« no previous file with comments | « tests/standalone/io/stdin_sync_script.dart ('k') | tests/utils/json_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698