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; |
}); |
} |