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

Unified Diff: tests/lib/async/future_value_chain4_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/future_test.dart ('k') | tests/lib/async/schedule_microtask3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/future_value_chain4_test.dart
diff --git a/tests/lib/async/future_value_chain4_test.dart b/tests/lib/async/future_value_chain4_test.dart
index 2f09cfe4fef4a9b6033f64650a896f14e0b43b54..8e640b56ea7a534b1434171b4faf68b3c29ab4b4 100644
--- a/tests/lib/async/future_value_chain4_test.dart
+++ b/tests/lib/async/future_value_chain4_test.dart
@@ -10,8 +10,9 @@ class MyFuture implements Future {
then(valueHandler, {onError}) {
scheduleMicrotask(() { valueHandler(499); });
}
- catchError(_) => null;
+ catchError(_, {test}) => null;
whenComplete(_) => null;
+ asStream() => null;
}
main() {
« no previous file with comments | « tests/lib/async/future_test.dart ('k') | tests/lib/async/schedule_microtask3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698