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

Unified Diff: tests/standalone/io/process_invalid_arguments_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/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: (_) {});
}

Powered by Google App Engine
This is Rietveld 408576698