Index: tests/standalone/io/file_invalid_arguments_test.dart |
diff --git a/tests/standalone/io/file_invalid_arguments_test.dart b/tests/standalone/io/file_invalid_arguments_test.dart |
index b4c1720bd659bab0958cfaaaa9629c67d6d636b7..f0879489805c126966a666a67d57cb03f15113bb 100644 |
--- a/tests/standalone/io/file_invalid_arguments_test.dart |
+++ b/tests/standalone/io/file_invalid_arguments_test.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -62,7 +62,7 @@ void testReadListInvalidArgs(buffer, offset, length) { |
void testWriteByteInvalidArgs(value) { |
var port = new ReceivePort(); |
String filename = getFilename("tests/vm/data/fixed_length_file"); |
- var file = (new File("${filename}_out")).openSync(FileMode.WRITE); |
+ var file = (new File("${filename}_out")).openSync(mode: FileMode.WRITE); |
try { |
file.writeByteSync(value); |
Expect.fail('exception expected'); |
@@ -86,7 +86,7 @@ void testWriteByteInvalidArgs(value) { |
void testWriteListInvalidArgs(buffer, offset, bytes) { |
var port = new ReceivePort(); |
String filename = getFilename("tests/vm/data/fixed_length_file"); |
- var file = (new File("${filename}_out")).openSync(FileMode.WRITE); |
+ var file = (new File("${filename}_out")).openSync(mode: FileMode.WRITE); |
try { |
file.writeListSync(buffer, offset, bytes); |
Expect.fail('exception expected'); |
@@ -111,7 +111,7 @@ void testWriteStringInvalidArgs(string) { |
var port = new ReceivePort(); |
String filename = getFilename("tests/vm/data/fixed_length_file"); |
var file = new File("${filename}_out"); |
- file.openSync(FileMode.WRITE); |
+ file.openSync(node: FileMode.WRITE); |
Mads Ager (google)
2013/03/13 16:08:45
mode!
|
try { |
file.writeString(string); |
Expect.fail('exception expected'); |