Index: tests/lib/async/stream_periodic2_test.dart |
diff --git a/tests/lib/async/stream_periodic2_test.dart b/tests/lib/async/stream_periodic2_test.dart |
index b9a17f8c1e36f2237c640a3e3fecf1883ff8b069..a1821ce862e9dac87c5dfdbd3ed7c3c7232ee519 100644 |
--- a/tests/lib/async/stream_periodic2_test.dart |
+++ b/tests/lib/async/stream_periodic2_test.dart |
@@ -14,7 +14,7 @@ main() { |
(x) => x); |
int receivedCount = 0; |
var subscription; |
- subscription = stream.listen(expectAsync1((data) { |
+ subscription = stream.listen(expectAsync((data) { |
expect(data, receivedCount); |
receivedCount++; |
if (receivedCount == 5) subscription.cancel(); |