Index: tests/corelib/collection_to_string_test.dart |
diff --git a/tests/corelib/collection_to_string_test.dart b/tests/corelib/collection_to_string_test.dart |
index 71db90ffb02b374d59f2614799ad9587f93065cd..1eb7d3b2cd45a5e3a294891a9298ca14959f47f9 100644 |
--- a/tests/corelib/collection_to_string_test.dart |
+++ b/tests/corelib/collection_to_string_test.dart |
@@ -297,7 +297,7 @@ bool randomBool() { |
/** Returns the alphabetized characters in a string. */ |
String alphagram(String s) { |
- List<int> chars = s.charCodes(); |
+ List<int> chars = s.charCodes; |
chars.sort((int a, int b) => a - b); |
return new String.fromCharCodes(chars); |
} |