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 f5419103edb4ea5ca105aa1d7121c0772f631fa5..6cb5842fd2411bb495caf0b97542b4f6dd6f3fc2 100644 |
--- a/tests/standalone/io/file_write_only_test.dart |
+++ b/tests/standalone/io/file_write_only_test.dart |
@@ -29,11 +29,9 @@ void withTempDirSync(String prefix, void test(Directory dir)) { |
} |
Future expectThrowsAsync(Future future, String message) { |
- return future.then((r) => Expect.fail(message)) |
- .catchError((e) {}); |
+ return future.then((r) => Expect.fail(message)).catchError((e) {}); |
} |
- |
Future write(Directory dir) async { |
var f = new File("${dir.path}${Platform.pathSeparator}write"); |
var raf = await f.open(mode: WRITE_ONLY); |