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 |