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 d251e2376ea8d3e50a11cd8099eb1a5c213ee371..c19a9e925e37dabeaac1af697c1e372e1a3bd27e 100644 |
--- a/tests/corelib_strong/list_sort_test.dart |
+++ b/tests/corelib_strong/list_sort_test.dart |
@@ -8,7 +8,7 @@ import 'sort_helper.dart'; |
class ListSortTest { |
static void testMain() { |
- var compare = Comparable.compare; |
+ Comparator<num> compare = Comparable.compare; |
var sort = (List<num> list) => list.sort(compare); |
new SortHelper(sort, compare).run(); |