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

Unified Diff: tests/light_unittest.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« tests/isolate/port_test.dart ('K') | « tests/lib/async/timer_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/light_unittest.dart
diff --git a/tests/light_unittest.dart b/tests/light_unittest.dart
index 9128ef75c7ba1109205e5758c60e20d54b39d166..1e6d4f876832cd8ee70d46fcfaf8bf75bce2d65e 100644
--- a/tests/light_unittest.dart
+++ b/tests/light_unittest.dart
@@ -56,7 +56,7 @@ get throws => new Expectation((actual) => Expect.throws(actual));
get isTrue => new Expectation((actual) => Expect.isTrue(actual));
-expectAsync1(then) {
+expectAsync(then) {
asyncStart();
return (x) {
// 'then(x)' may call 'asyncStart()', so we first need to execute it, before
« tests/isolate/port_test.dart ('K') | « tests/lib/async/timer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698