Index: tests/lib/async/slow_consumer2_test.dart |
diff --git a/tests/lib/async/slow_consumer2_test.dart b/tests/lib/async/slow_consumer2_test.dart |
index 3d6801cca6fae50bc0279a1e0428154dfe3b703a..2108870bfb7de7e5d00bb66ad8908cfbcbdc724e 100644 |
--- a/tests/lib/async/slow_consumer2_test.dart |
+++ b/tests/lib/async/slow_consumer2_test.dart |
@@ -58,7 +58,7 @@ class SlowConsumer extends StreamConsumer { |
} |
Future close() { |
- return new Future.immediate(finalCount); |
+ return new Future.value(finalCount); |
} |
} |