Index: tests/corelib/const_list_literal_test.dart |
diff --git a/tests/corelib/const_list_literal_test.dart b/tests/corelib/const_list_literal_test.dart |
index 5d5978e08bbd83173d94af54d575f39b10c923a5..31e859e62ff510ef74b01185bae0533be00f2662 100644 |
--- a/tests/corelib/const_list_literal_test.dart |
+++ b/tests/corelib/const_list_literal_test.dart |
@@ -40,7 +40,7 @@ class ConstListLiteralTest { |
exception = null; |
try { |
- list.sort((a, b) => a < b); |
+ list.sort((a, b) => a - b); |
} on UnsupportedError catch (e) { |
exception = e; |
} |