Index: tests/standalone/io/io_sink_test.dart |
diff --git a/tests/standalone/io/io_sink_test.dart b/tests/standalone/io/io_sink_test.dart |
index e28c7ffe41e2572817f96fe53e243722ca71289b..1c964486f7d515f3588c064e98595f094e6b8753 100644 |
--- a/tests/standalone/io/io_sink_test.dart |
+++ b/tests/standalone/io/io_sink_test.dart |
@@ -34,7 +34,7 @@ class TestConsumer implements StreamConsumer { |
} |
Future close() { |
- return new Future.immediate(null) |
+ return new Future.value() |
.then((_) { |
if (closePort != null) closePort.close(); |
Expect.listEquals(expected, received); |