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

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

Issue 187323003: pkg/unittest: much cleaner support for arbitrary args in expectAsync functions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tests for too many args Created 6 years, 10 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_middle_exception_test.dart
diff --git a/pkg/unittest/test/unittest_middle_exception_test.dart b/pkg/unittest/test/unittest_middle_exception_test.dart
index d405500c57d05476bbd634172ccb99aab6034427..ba7751470b30046bbe22f6dd27f360ce13fb44e3 100644
--- a/pkg/unittest/test/unittest_middle_exception_test.dart
+++ b/pkg/unittest/test/unittest_middle_exception_test.dart
@@ -15,7 +15,7 @@ var testFunction = (_) {
test('testOne', () { expect(true, isTrue); });
test('testTwo', () { expect(true, isFalse); });
test('testThree', () {
- var done = expectAsync0((){});
+ var done = expectAsync(() {});
_defer(() {
expect(true, isTrue);
done();
« no previous file with comments | « pkg/unittest/test/unittest_late_exception_test.dart ('k') | pkg/unittest/test/unittest_protect_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698