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

Unified Diff: pkg/unittest/test/unittest_late_exception_test.dart

Issue 193643003: pkg/unittest: support up to 6 arguments in expectAsync[Until] (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: doc comments 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: pkg/unittest/test/unittest_late_exception_test.dart
diff --git a/pkg/unittest/test/unittest_late_exception_test.dart b/pkg/unittest/test/unittest_late_exception_test.dart
index 7a5c3e61cbdb86ddfad33eb31649c6ff00c1a6f2..c80de1263329dab9e81ad440aceee9b8036db5b5 100644
--- a/pkg/unittest/test/unittest_late_exception_test.dart
+++ b/pkg/unittest/test/unittest_late_exception_test.dart
@@ -14,11 +14,11 @@ var testName = 'late exception test';
var testFunction = (_) {
var f;
test('testOne', () {
- f = expectAsync0(() {});
+ f = expectAsync(() {});
_defer(f);
});
test('testTwo', () {
- _defer(expectAsync0(() { f(); }));
+ _defer(expectAsync(() { f(); }));
});
};
« no previous file with comments | « pkg/unittest/test/unittest_expect_async_test.dart ('k') | pkg/unittest/test/unittest_middle_exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698