Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1583)

Unified Diff: tests/lib/async/stream_periodic2_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698