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

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: Created 7 years, 2 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698