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 d4865c4a58f524c57353394e7380c295b60a1911..f17fb07d52841a7fe540383e2c26f6a72db834f9 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); |
} |
} |