Index: tests/standalone/io/stdout_stderr_non_blocking_test.dart |
diff --git a/tests/standalone/io/stdout_stderr_test.dart b/tests/standalone/io/stdout_stderr_non_blocking_test.dart |
similarity index 82% |
copy from tests/standalone/io/stdout_stderr_test.dart |
copy to tests/standalone/io/stdout_stderr_non_blocking_test.dart |
index 296a8d6415a76f474f498cfa4f62d5678325ae24..061e8557d3ddcc2083e04ddce859b234b5a22f00 100644 |
--- a/tests/standalone/io/stdout_stderr_test.dart |
+++ b/tests/standalone/io/stdout_stderr_non_blocking_test.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -33,10 +33,10 @@ callIOSink(IOSink sink) { |
} |
main() { |
- callIOSink(stdout); |
- stdout.done.then((_) { |
- callIOSink(stderr); |
- stderr.done.then((_) { |
+ callIOSink(stdout.nonBlocking); |
+ stdout.nonBlocking.done.then((_) { |
+ callIOSink(stderr.nonBlocking); |
+ stderr.nonBlocking.done.then((_) { |
stdout.close(); |
stderr.close(); |
}); |