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/signal_test_script.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/signal_test_script.dart
diff --git a/tests/standalone/io/signal_test_script.dart b/tests/standalone/io/signal_test_script.dart
index 07f4c0341df59e425fc5e5c394cf341187e41a54..31e17de586245f658a6a985c61482e5c42a1dfac 100644
--- a/tests/standalone/io/signal_test_script.dart
+++ b/tests/standalone/io/signal_test_script.dart
@@ -11,12 +11,24 @@ void main(args) {
for (var arg in args) {
var signal;
switch (arg) {
- case 'SIGHUP': signal = ProcessSignal.SIGHUP; break;
- case 'SIGINT': signal = ProcessSignal.SIGINT; break;
- case 'SIGTERM': signal = ProcessSignal.SIGTERM; break;
- case 'SIGUSR1': signal = ProcessSignal.SIGUSR1; break;
- case 'SIGUSR2': signal = ProcessSignal.SIGUSR2; break;
- case 'SIGWINCH': signal = ProcessSignal.SIGWINCH; break;
+ case 'SIGHUP':
+ signal = ProcessSignal.SIGHUP;
+ break;
+ case 'SIGINT':
+ signal = ProcessSignal.SIGINT;
+ break;
+ case 'SIGTERM':
+ signal = ProcessSignal.SIGTERM;
+ break;
+ case 'SIGUSR1':
+ signal = ProcessSignal.SIGUSR1;
+ break;
+ case 'SIGUSR2':
+ signal = ProcessSignal.SIGUSR2;
+ break;
+ case 'SIGWINCH':
+ signal = ProcessSignal.SIGWINCH;
+ break;
}
signal.watch().first.then((s) {
if (signal != s) exit(1);

Powered by Google App Engine
This is Rietveld 408576698