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

Unified Diff: pkg/unittest/test/unittest_async_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
« no previous file with comments | « pkg/unittest/test/test_utils.dart ('k') | pkg/unittest/test/unittest_async_setup_teardown_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/unittest_async_exception_test.dart
diff --git a/pkg/unittest/test/unittest_async_exception_test.dart b/pkg/unittest/test/unittest_async_exception_test.dart
index 34298b7d275502227fa80a1d3a0ce6c024e465d3..cc351169debb8aee01d16c735e75e39e843541ba 100644
--- a/pkg/unittest/test/unittest_async_exception_test.dart
+++ b/pkg/unittest/test/unittest_async_exception_test.dart
@@ -13,8 +13,8 @@ var testName = 'async exception test';
var testFunction = (_) {
test(testName, () {
- expectAsync0(() {});
- _defer(() => guardAsync(() { throw "error!"; }));
+ expectAsync(() {});
+ _defer(() { throw "error!"; });
});
};
« no previous file with comments | « pkg/unittest/test/test_utils.dart ('k') | pkg/unittest/test/unittest_async_setup_teardown_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698