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

Unified Diff: tests/isolate/deferred_in_isolate_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/deferred_in_isolate_test.dart
diff --git a/tests/isolate/deferred_in_isolate_test.dart b/tests/isolate/deferred_in_isolate_test.dart
index e903d62ce271f249725aa5d6ea2fce01a732c599..496b064a372b67d9a87048d758780a65c0bccd70 100644
--- a/tests/isolate/deferred_in_isolate_test.dart
+++ b/tests/isolate/deferred_in_isolate_test.dart
@@ -15,7 +15,7 @@ main() {
receivePort.handler = (msg) {
if (msg != expectedMsg) {
print("Test failed.");
- throw msg; // Fail the test if the message is not expected.
+ throw msg; // Fail the test if the message is not expected.
}
print('Test done.');
receivePort.close();
@@ -23,8 +23,7 @@ main() {
var stopwatch = new Stopwatch()..start();
Isolate.spawnUri(new Uri(path: 'deferred_in_isolate_app.dart'),
- [expectedMsg],
- [receivePort.sendPort]).then((isolate) {
+ [expectedMsg], [receivePort.sendPort]).then((isolate) {
print('Isolate spawn: ${stopwatch.elapsedMilliseconds}ms');
}).catchError((error) {
print(error);

Powered by Google App Engine
This is Rietveld 408576698