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

Unified Diff: tests/isolate/scenarios/package_relative_root/package_relative_root_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_root/package_relative_root_test.dart
diff --git a/tests/isolate/scenarios/package_relative_root/package_relative_root_test.dart b/tests/isolate/scenarios/package_relative_root/package_relative_root_test.dart
index a3a853318a9d5baf79cc4124be13c1a34d19e3ff..3f90563b3ba956d2a130a1a7cae6e6248a9ae736 100644
--- a/tests/isolate/scenarios/package_relative_root/package_relative_root_test.dart
+++ b/tests/isolate/scenarios/package_relative_root/package_relative_root_test.dart
@@ -18,10 +18,8 @@ main([args, port]) async {
return;
}
var p = new RawReceivePort();
- Isolate.spawnUri(Platform.script,
- [],
- p.sendPort,
- packageRoot: Uri.parse(CONFIG_URI));
+ Isolate.spawnUri(Platform.script, [], p.sendPort,
+ packageRoot: 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