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

Unified Diff: tests/corelib_strong/list_sublist_test.dart

Issue 2683893002: Make corelib_strong tests strong-mode compliant (Closed)
Patch Set: Created 3 years, 10 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/corelib_strong/list_sublist_test.dart
diff --git a/tests/corelib_strong/list_sublist_test.dart b/tests/corelib_strong/list_sublist_test.dart
index 05814734dd15d8f2bf5093b2a357e992b1ead19e..b513b8ab954ab5dd5eddd1d278398626ca4a99f7 100644
--- a/tests/corelib_strong/list_sublist_test.dart
+++ b/tests/corelib_strong/list_sublist_test.dart
@@ -53,6 +53,6 @@ main() {
expectAE(() => [1].sublist(1, 0));
}
-void expectAE(Function f) {
+void expectAE(void f()) {
Expect.throws(f, (e) => e is ArgumentError);
}

Powered by Google App Engine
This is Rietveld 408576698