| Index: tests/standalone/io/file_write_only_test.dart
|
| diff --git a/tests/standalone/io/file_write_only_test.dart b/tests/standalone/io/file_write_only_test.dart
|
| index c06be4741ef80a9a58aa2ec1b7ce16f26b92d8f5..ed7be4d154df7c42cbc6f75fd8def7bdc476c494 100644
|
| --- a/tests/standalone/io/file_write_only_test.dart
|
| +++ b/tests/standalone/io/file_write_only_test.dart
|
| @@ -19,7 +19,7 @@ Future withTempDir(String prefix, void test(Directory dir)) async {
|
| }
|
| }
|
|
|
| -void withTempDirSync(String prefix, void test(Directory dir)) async {
|
| +void withTempDirSync(String prefix, void test(Directory dir)) {
|
| var tempDir = Directory.systemTemp.createTempSync(prefix);
|
| try {
|
| test(tempDir);
|
| @@ -28,7 +28,7 @@ void withTempDirSync(String prefix, void test(Directory dir)) async {
|
| }
|
| }
|
|
|
| -Futire expectThrowsAsync(Future future, String message) {
|
| +Future expectThrowsAsync(Future future, String message) {
|
| return future.then((r) => Expect.fail(message))
|
| .catchError((e) {});
|
| }
|
| @@ -54,7 +54,7 @@ Future write(Directory dir) async {
|
| Expect.equals(f.lengthSync(), 10);
|
| }
|
|
|
| -Future writeSync(Directory dir) {
|
| +void writeSync(Directory dir) {
|
| var f = new File('x');
|
| var raf = f.openSync(mode: WRITE_ONLY);
|
| raf.writeStringSync('Hello');
|
|
|