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

Unified Diff: packages/async/test/future_group_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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
« no previous file with comments | « packages/async/test/cancelable_operation_test.dart ('k') | packages/async/test/lazy_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/async/test/future_group_test.dart
diff --git a/packages/async/test/future_group_test.dart b/packages/async/test/future_group_test.dart
index 09ea29a0abd0a364fce633b92c92c9d6dc5835de..af04799b328ba0705b2e7bf7d3c3d63adc415a80 100644
--- a/packages/async/test/future_group_test.dart
+++ b/packages/async/test/future_group_test.dart
@@ -187,16 +187,16 @@ void main() {
var onIdleDone = false;
var futureFired = false;
- futureGroup.onIdle.listen(expectAsync((_) {
+ futureGroup.onIdle.listen(expectAsync1((_) {
expect(futureFired, isFalse);
idle = true;
- }), onDone: expectAsync(() {
+ }), onDone: expectAsync0(() {
expect(idle, isTrue);
expect(futureFired, isFalse);
onIdleDone = true;
}));
- futureGroup.future.then(expectAsync((_) {
+ futureGroup.future.then(expectAsync1((_) {
expect(idle, isTrue);
expect(onIdleDone, isTrue);
futureFired = true;
« no previous file with comments | « packages/async/test/cancelable_operation_test.dart ('k') | packages/async/test/lazy_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698