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

Unified Diff: tests/isolate/scenarios/package_relative_spec/package_relative_spec_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/scenarios/package_relative_spec/package_relative_spec_test.dart
diff --git a/tests/isolate/scenarios/package_relative_spec/package_relative_spec_test.dart b/tests/isolate/scenarios/package_relative_spec/package_relative_spec_test.dart
index e22d3ef49428e1737792a44550e5002122c33f7e..22c65ccafebde23f55fbc14d5977c71017809a80 100644
--- a/tests/isolate/scenarios/package_relative_spec/package_relative_spec_test.dart
+++ b/tests/isolate/scenarios/package_relative_spec/package_relative_spec_test.dart
@@ -18,10 +18,8 @@ main([args, port]) async {
return;
}
var p = new RawReceivePort();
- Isolate.spawnUri(Platform.script,
- [],
- p.sendPort,
- packageConfig: Uri.parse(CONFIG_URI));
+ Isolate.spawnUri(Platform.script, [], p.sendPort,
+ packageConfig: Uri.parse(CONFIG_URI));
p.handler = (msg) {
p.close();
if (msg is! List) {
@@ -30,11 +28,11 @@ main([args, port]) async {
}
if (msg[0] != "Foo") {
throw "Bad package config in child isolate: ${msg[0]}\n"
- "Expected: 'Foo'";
+ "Expected: 'Foo'";
}
if (msg[1] != "Bar2") {
throw "Package path not matching: ${msg[1]}\n"
- "Expected: 'Bar2'";
+ "Expected: 'Bar2'";
}
print("SUCCESS");
};
@@ -42,7 +40,7 @@ main([args, port]) async {
throw "Spawning isolate package:bar invalid.";
}
print("Spawned isolate resolved $CONFIG_URI to: "
- "${await Isolate.resolvePackageUri(Uri.parse(CONFIG_URI))}");
+ "${await Isolate.resolvePackageUri(Uri.parse(CONFIG_URI))}");
}
testCorrectBarPackage(port) async {

Powered by Google App Engine
This is Rietveld 408576698