| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 7dbe23d5a0f6239f2f27175967566f20c1f54fdd..5d5499fd5a49d90c727876ee4441c8b6cf78866b 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -1439,7 +1439,7 @@ class ScheduledProcess {
|
| /// Writes [line] to the process as stdin.
|
| void writeLine(String line) {
|
| _schedule((_) => _processFuture.then(
|
| - (p) => p.stdin.writeln('$line')));
|
| + (p) => p.stdin.add(encodeUtf8('$line\n'))));
|
| }
|
|
|
| /// Kills the process, and waits until it's dead.
|
|
|