Chromium Code Reviews| Index: utils/tests/string_encoding/unicode_test.dart |
| diff --git a/utils/tests/string_encoding/unicode_test.dart b/utils/tests/string_encoding/unicode_test.dart |
| index 054ff45e01933ff419b39b9cf7e8877e10f864bd..d72544ae16138f3fe9f793ebfbea4dab065e318c 100755 |
| --- a/utils/tests/string_encoding/unicode_test.dart |
| +++ b/utils/tests/string_encoding/unicode_test.dart |
| @@ -30,7 +30,7 @@ class UnicodeTests extends TestClass { |
| } |
| void testStringCharCodes() { |
| - Expect.listEquals(testCodepoints, testPhrase.charCodes()); |
| + Expect.listEquals(testCodepoints, testPhrase.codeUnits()); |
|
floitsch
2013/02/19 14:03:06
that looks wrong: codeUnits is a getter.
Lasse Reichstein Nielsen
2013/02/20 06:38:23
This code is definitly not running anywhere. The d
|
| } |
| void testCodepointsToString() { |
| @@ -42,6 +42,6 @@ class UnicodeTests extends TestClass { |
| } |
| void testEmptyStringCharCodes() { |
| - Expect.listEquals([], "".charCodes()); |
| + Expect.listEquals([], "".codeUnits()); |
|
floitsch
2013/02/19 14:03:06
ditto.
Lasse Reichstein Nielsen
2013/02/20 06:38:23
Done.
|
| } |
| } |