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

Unified Diff: tests/standalone/io/file_blocking_lock_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_blocking_lock_test.dart
diff --git a/tests/standalone/io/file_blocking_lock_test.dart b/tests/standalone/io/file_blocking_lock_test.dart
index 5fd6e559fac35d05d221a45a8397cdbbc245f96e..8e4d80579345007d2fc60a26f690c1bdde796792 100644
--- a/tests/standalone/io/file_blocking_lock_test.dart
+++ b/tests/standalone/io/file_blocking_lock_test.dart
@@ -21,20 +21,20 @@ import "package:path/path.dart";
// Check whether the file is locked or not.
runPeer(String path, int len, FileLock mode) {
- var script = Platform.script.resolve(
- 'file_blocking_lock_script.dart').toFilePath();
+ var script =
+ Platform.script.resolve('file_blocking_lock_script.dart').toFilePath();
var arguments = []
- ..addAll(Platform.executableArguments)
- ..add(script)
- ..add(path)
- ..add(len.toString());
+ ..addAll(Platform.executableArguments)
+ ..add(script)
+ ..add(path)
+ ..add(len.toString());
return Process.start(Platform.executable, arguments).then((process) {
- process.stdout
- .transform(UTF8.decoder)
- .listen((data) { print(data); });
- process.stderr
- .transform(UTF8.decoder)
- .listen((data) { print(data); });
+ process.stdout.transform(UTF8.decoder).listen((data) {
+ print(data);
+ });
+ process.stderr.transform(UTF8.decoder).listen((data) {
+ print(data);
+ });
return process;
});
}

Powered by Google App Engine
This is Rietveld 408576698