Index: tests/standalone/io/string_stream_test.dart |
diff --git a/tests/standalone/io/string_stream_test.dart b/tests/standalone/io/string_stream_test.dart |
index f335291d662b7b078ae172d50e2afa266bcbb7c5..4d0e53a41b104c306892bbd7ec7ce6c16f140988 100644 |
--- a/tests/standalone/io/string_stream_test.dart |
+++ b/tests/standalone/io/string_stream_test.dart |
@@ -29,8 +29,7 @@ void testUtf8() { |
Expect.equals(new String.fromCharCodes([0xffff]), s[5]); |
// Surrogate pair for U+1D11E. |
- Expect.equals(new String.fromCharCodes([0xd834]), s[6]); |
- Expect.equals(new String.fromCharCodes([0xdd1e]), s[7]); |
+ Expect.equals(new String.fromCodeUnits([0xd834, 0xdd1e]), s[6]); |
} |
stream.onData = stringData; |
} |