Index: tests/lib/async/slow_consumer3_test.dart |
diff --git a/tests/lib/async/slow_consumer3_test.dart b/tests/lib/async/slow_consumer3_test.dart |
index 18842c0e922af1d2e7889540e6a3b546e26a5913..5bb3f99f9ba0afd575680f9bb78e44952988ce57 100644 |
--- a/tests/lib/async/slow_consumer3_test.dart |
+++ b/tests/lib/async/slow_consumer3_test.dart |
@@ -58,7 +58,7 @@ class SlowConsumer extends StreamConsumer { |
} |
Future close() { |
- return new Future.immediate(finalCount); |
+ return new Future.value(finalCount); |
} |
} |