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

Unified Diff: tools/testing/dart/multitest.dart

Issue 9034005: Change the behavior of open on files to not truncate by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comment.s Created 8 years, 12 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
« no previous file with comments | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/multitest.dart
diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
index 650311850a5410bc7256d2228d1febb965f6a0cc..ae0c856880be8bfc8bbea9f39f5664ffbf11b598 100644
--- a/tools/testing/dart/multitest.dart
+++ b/tools/testing/dart/multitest.dart
@@ -136,7 +136,7 @@ void DoMultitest(String filename,
final File file = new File(filename);
file.createSync();
- RandomAccessFile openedFile = file.openSync(writable: true);
+ RandomAccessFile openedFile = file.openSync(FileMode.WRITE);
var bytes = tests[key].charCodes();
openedFile.writeListSync(bytes, 0, bytes.length);
openedFile.closeSync();
« no previous file with comments | « tools/testing/bin/windows/dart.exe ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698