Index: tests/lib/async/stream_periodic_test.dart |
diff --git a/tests/lib/async/stream_periodic_test.dart b/tests/lib/async/stream_periodic_test.dart |
index 32359f6367434065c1647374b0cee633874b252f..379c689ebb56764329358985e8306474785dcbe1 100644 |
--- a/tests/lib/async/stream_periodic_test.dart |
+++ b/tests/lib/async/stream_periodic_test.dart |
@@ -13,7 +13,7 @@ main() { |
Stream stream = new Stream.periodic(const Duration(milliseconds: 1)); |
int receivedCount = 0; |
var subscription; |
- subscription = stream.listen(expectAsync1((data) { |
+ subscription = stream.listen(expectAsync((data) { |
expect(data, isNull); |
receivedCount++; |
if (receivedCount == 5) subscription.cancel(); |