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

Unified Diff: packages/unittest/test/test_utils.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/unittest/test/test_common.dart ('k') | packages/usage/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/unittest/test/test_utils.dart
diff --git a/packages/unittest/test/test_utils.dart b/packages/unittest/test/test_utils.dart
index d0adda297d978934055c035217c2cde55b891654..f36533bbc53cff36506021e5894b0c2ffce3ae49 100644
--- a/packages/unittest/test/test_utils.dart
+++ b/packages/unittest/test/test_utils.dart
@@ -41,7 +41,7 @@ void shouldFail(value, Matcher matcher, expected, {bool isAsync: false}) {
}
if (isAsync) {
- Timer.run(expectAsync(afterTest));
+ Timer.run(expectAsync0(afterTest));
} else {
afterTest();
}
@@ -57,7 +57,7 @@ void shouldPass(value, Matcher matcher, {bool isAsync: false}) {
expect(_errorCount, equals(0));
}
if (isAsync) {
- Timer.run(expectAsync(afterTest));
+ Timer.run(expectAsync0(afterTest));
} else {
afterTest();
}
« no previous file with comments | « packages/unittest/test/test_common.dart ('k') | packages/usage/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698