Index: tests/standalone/io/process_invalid_arguments_test.dart |
diff --git a/tests/standalone/io/process_invalid_arguments_test.dart b/tests/standalone/io/process_invalid_arguments_test.dart |
index bbbc6318bf636e7afd92e2378ab8a1ebddee2f03..113443ed2d8d35515f05a47f6cd4f6b3ca4615fb 100644 |
--- a/tests/standalone/io/process_invalid_arguments_test.dart |
+++ b/tests/standalone/io/process_invalid_arguments_test.dart |
@@ -8,21 +8,21 @@ import "package:expect/expect.dart"; |
import "dart:io"; |
void main() { |
- Expect.throws(() => Process.start(["true"], []), |
- (e) => e is ArgumentError); |
- Expect.throws(() => Process.start("true", "asdf"), |
- (e) => e is ArgumentError); |
- Expect.throws(() => Process.start("true", ["asdf", 1]), |
- (e) => e is ArgumentError); |
-; |
+ Expect.throws(() => Process.start(["true"], []), (e) => e is ArgumentError); |
+ Expect.throws(() => Process.start("true", "asdf"), (e) => e is ArgumentError); |
+ Expect.throws( |
+ () => Process.start("true", ["asdf", 1]), (e) => e is ArgumentError); |
+ ; |
Expect.throws(() => Process.start("true", [], workingDirectory: 23), |
- (e) => e is ArgumentError); |
+ (e) => e is ArgumentError); |
Expect.throws(() => Process.run("true", [], workingDirectory: 23), |
- (e) => e is ArgumentError); |
+ (e) => e is ArgumentError); |
- Process.run("true", [], stdoutEncoding: 23) |
+ Process |
+ .run("true", [], stdoutEncoding: 23) |
.then((_) => Expect.fail("expected error"), onError: (_) {}); |
- Process.run("true", [], stderrEncoding: 23) |
+ Process |
+ .run("true", [], stderrEncoding: 23) |
.then((_) => Expect.fail("expected error"), onError: (_) {}); |
} |