Index: tests/standalone/coverage_test.dart |
diff --git a/tests/standalone/coverage_test.dart b/tests/standalone/coverage_test.dart |
index ef5e42d0a8f6f6f17b1ad6cdf68a71d72b28e56e..ecf92eaf7ea3de55bfcc69e9ddfa8237b4303c2c 100644 |
--- a/tests/standalone/coverage_test.dart |
+++ b/tests/standalone/coverage_test.dart |
@@ -7,8 +7,10 @@ |
// This test is mainly here to ensure that the coverage tool compiles and |
// runs. |
-import "dart:io"; |
import "dart:async"; |
+import "dart:convert"; |
+import "dart:io"; |
+ |
import "package:path/path.dart"; |
// Coverage tool script relative to the path of this test. |
@@ -64,11 +66,11 @@ void main() { |
coverageToolProcess.stdin.close(); |
var stdoutStringStream = coverageToolProcess.stdout |
.transform(new StringDecoder()) |
- .transform(new LineTransformer()); |
+ .transform(new LineSplitter()); |
var stderrStringStream = coverageToolProcess.stderr |
.transform(new StringDecoder()) |
- .transform(new LineTransformer()); |
+ .transform(new LineSplitter()); |
// Wait for 3 future events: stdout and stderr streams of the coverage |
// tool process closed, and coverage tool process terminated. |