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

Unified Diff: tests/isolate/checked_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/isolate/checked_test.dart
diff --git a/tests/isolate/checked_test.dart b/tests/isolate/checked_test.dart
index 87f6a036ddc1a854216dcdc6be36d3f1aa1922c8..e807e17bb71fe0e9a52554b6e808e280eade2538 100644
--- a/tests/isolate/checked_test.dart
+++ b/tests/isolate/checked_test.dart
@@ -12,7 +12,7 @@ void main([args, message]) {
bool isChecked = false;
assert((isChecked = true));
- if (isChecked) return; // Skip this test in checked mode.
+ if (isChecked) return; // Skip this test in checked mode.
var responses = {};
var port = new RawReceivePort();
@@ -26,16 +26,16 @@ void main([args, message]) {
}
};
test(checked) {
- Isolate.spawnUri(Uri.parse("checked_test.dart"), [],
- [checked, isChecked, port.sendPort],
- checked: checked);
+ Isolate.spawnUri(
+ Uri.parse("checked_test.dart"), [], [checked, isChecked, port.sendPort],
+ checked: checked);
}
+
test(true);
test(false);
test(null);
}
-
void isolateMain(args) {
var checkedFlag = args[0];
var parentIsChecked = args[1];

Powered by Google App Engine
This is Rietveld 408576698