Index: tests/corelib/string_test.dart |
diff --git a/tests/corelib/string_test.dart b/tests/corelib/string_test.dart |
index 786a9cfdd2f349ddad18eeb0c29d54a9b36c2dfc..0dd8e54cb0e9310fb02d6522aa2eea7ce82c0a08 100644 |
--- a/tests/corelib/string_test.dart |
+++ b/tests/corelib/string_test.dart |
@@ -284,7 +284,7 @@ class StringTest { |
static testCharCodes() { |
test(str) { |
- var list = str.charCodes(); |
+ var list = str.charCodes; |
Expect.equals(str.length, list.length); |
for (int i = 0; i < str.length; i++) { |
Expect.equals(str.charCodeAt(i), list[i]); |