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

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: 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_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() {

Powered by Google App Engine
This is Rietveld 408576698