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

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 20005002: Remove an old incorrect piece of documentation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/unittest.dart
===================================================================
--- pkg/unittest/lib/unittest.dart (revision 25305)
+++ pkg/unittest/lib/unittest.dart (working copy)
@@ -138,29 +138,6 @@
* features or fixes to the current spec (e.g. see
* [Issue 2706](http://dartbug.com/2706)).
*
- * Meanwhile, we plan to add this alternative API for callbacks of more than 2
- * arguments or that take named parameters. (this is not implemented yet,
- * but will be coming here soon).
- *
- * import 'package:unittest/unittest.dart';
- * import 'dart:isolate';
- * main() {
- * test('callback is executed', () {
- * // indicate ahead of time that an async callback is expected.
- * var async = startAsync();
- * Timer.run(() {
- * // Guard the body of the callback, so errors are propagated
- * // correctly.
- * guardAsync(() {
- * int x = 2 + 3;
- * expect(x, equals(5));
- * });
- * // indicate that the asynchronous callback was invoked.
- * async.complete();
- * });
- * });
- * }
- *
* [pub]: http://pub.dartlang.org
* [pkg]: http://pub.dartlang.org/packages/unittest
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698