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

Unified Diff: tests/standalone/io/file_write_only_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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_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);

Powered by Google App Engine
This is Rietveld 408576698