Index: tests/lib/async/stream_periodic4_test.dart |
diff --git a/tests/lib/async/stream_periodic4_test.dart b/tests/lib/async/stream_periodic4_test.dart |
index 779947bf4264461e950cc4b4ee571f3d5c8bf451..b311cd738fe403a3e833676ec2d22e30eeb84391 100644 |
--- a/tests/lib/async/stream_periodic4_test.dart |
+++ b/tests/lib/async/stream_periodic4_test.dart |
@@ -9,7 +9,7 @@ import "dart:async"; |
import '../../../pkg/unittest/lib/unittest.dart'; |
void runTest(period, maxElapsed, pauseDuration) { |
- Function done = expectAsync0(() { }); |
+ Function done = expectAsync(() { }); |
Stopwatch watch = new Stopwatch()..start(); |
Stream stream = new Stream.periodic(period, (x) => x); |