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

Unified Diff: tests/lib/async/future_test.dart

Issue 54723007: Fix warnings in library-tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 7 years, 1 month 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 | « tests/lib/async/event_helper.dart ('k') | tests/lib/async/future_value_chain4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/future_test.dart
diff --git a/tests/lib/async/future_test.dart b/tests/lib/async/future_test.dart
index b497f1dfc6949d4e92ca26887e25e71e751c7790..ed342bc8439124f7c565c9f59eb5786a0b0c2976 100644
--- a/tests/lib/async/future_test.dart
+++ b/tests/lib/async/future_test.dart
@@ -55,8 +55,8 @@ void testSync() {
void testNeverComplete() {
final completer = new Completer<int>();
final future = completer.future;
- future.then((v) => Expect.fails("Value not expected"));
- future.catchError((e) => Expect.fails("Value not expected"));
+ future.then((v) => Expect.fail("Value not expected"));
+ future.catchError((e) => Expect.fail("Value not expected"));
}
void testComplete() {
« no previous file with comments | « tests/lib/async/event_helper.dart ('k') | tests/lib/async/future_value_chain4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698