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

Unified Diff: tests/standalone/io/file_system_links_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/file_system_links_test.dart
diff --git a/tests/standalone/io/file_system_links_test.dart b/tests/standalone/io/file_system_links_test.dart
index 361f7e6eba02085342865ee5cefc6d6bd9b5c885..95ba998ddace1c4aad15acef4cbdda9180cad438 100644
--- a/tests/standalone/io/file_system_links_test.dart
+++ b/tests/standalone/io/file_system_links_test.dart
@@ -65,7 +65,7 @@ testFileWriteRead() {
var y = '${temp.path}${Platform.pathSeparator}y';
new File(x).createSync();
createLink(x, y, true, () {
- var data = "asdf".charCodes;
+ var data = "asdf".codeUnits;
var output = new File(y).openOutputStream(FileMode.WRITE);
output.write(data);
output.onNoPendingWrites = () {

Powered by Google App Engine
This is Rietveld 408576698