| Index: tests/utils/utf_test.dart
|
| diff --git a/tests/utils/utf_test.dart b/tests/utils/utf_test.dart
|
| index 64417895cefb712ea9c078aa65524297b39380ff..10401a3f03adb522b7848cccd88aa6c79209b89c 100644
|
| --- a/tests/utils/utf_test.dart
|
| +++ b/tests/utils/utf_test.dart
|
| @@ -7,8 +7,8 @@ import 'dart:utf';
|
|
|
| main() {
|
| String str = codepointsToString([0x1d537]);
|
| - // String.charCodes gives 16-bit code units, but stringToCodepoints gives
|
| + // String.codeUnits gives 16-bit code units, but stringToCodepoints gives
|
| // back the original code points.
|
| - Expect.listEquals([0xd835, 0xdd37], str.charCodes);
|
| + Expect.listEquals([0xd835, 0xdd37], str.codeUnits);
|
| Expect.listEquals([0x1d537], stringToCodepoints(str));
|
| }
|
|
|