Index: tests/corelib_strong/list_sort_test.dart |
diff --git a/tests/corelib_strong/list_sort_test.dart b/tests/corelib_strong/list_sort_test.dart |
index 7e896cd2212275c121fa08f623bf57b0e001a2af..d251e2376ea8d3e50a11cd8099eb1a5c213ee371 100644 |
--- a/tests/corelib_strong/list_sort_test.dart |
+++ b/tests/corelib_strong/list_sort_test.dart |
@@ -9,10 +9,10 @@ import 'sort_helper.dart'; |
class ListSortTest { |
static void testMain() { |
var compare = Comparable.compare; |
- var sort = (list) => list.sort(compare); |
+ var sort = (List<num> list) => list.sort(compare); |
new SortHelper(sort, compare).run(); |
- new SortHelper((list) => list.sort(), compare).run(); |
+ new SortHelper((List<num> list) => list.sort(), compare).run(); |
compare = (a, b) => -a.compareTo(b); |
new SortHelper(sort, compare).run(); |