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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 11878039: Fix in testing scripts, decodeUtf8->encodeUtf8 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 70edc804cc6702d37be9de8602e7e10f62dbf32c..aa84ae9cd637787c501b69c64bf22ee0642571e5 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -1320,7 +1320,7 @@ class BatchRunnerProcess {
} else if (line.startsWith('>>> ')) {
throw new Exception('Unexpected command from dartc batch runner.');
} else {
- buffer.addAll(decodeUtf8(line));
+ buffer.addAll(encodeUtf8(line));
buffer.addAll("\n".charCodes);
}
line = stream.readLine();
@@ -1348,7 +1348,7 @@ class BatchRunnerProcess {
if (line.startsWith('>>> EOF STDERR')) {
_stderrDone();
} else {
- buffer.addAll(decodeUtf8(line));
+ buffer.addAll(encodeUtf8(line));
buffer.addAll("\n".charCodes);
}
line = stream.readLine();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698