Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: tests/standalone/io/process_stdout_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/process_stdout_test.dart
diff --git a/tests/standalone/io/process_stdout_test.dart b/tests/standalone/io/process_stdout_test.dart
index 200faf0ca4fac40f6c707a47e6058ece79667bff..fc2873644851972c8e0209eb03dff42e4c8ab3af 100644
--- a/tests/standalone/io/process_stdout_test.dart
+++ b/tests/standalone/io/process_stdout_test.dart
@@ -21,7 +21,7 @@ void test(Future<Process> future, int expectedExitCode) {
Expect.equals(expectedExitCode, exitCode);
};
- List<int> data = "ABCDEFGHI\n".charCodes;
+ List<int> data = "ABCDEFGHI\n".codeUnits;
final int dataSize = data.length;
InputStream out = process.stdout;

Powered by Google App Engine
This is Rietveld 408576698