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

Unified Diff: tests/isolate/scenarios/package_data_uri_spec/package_resolve_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_data_uri_spec/package_resolve_test.dart
diff --git a/tests/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart b/tests/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart
index 8884d4eb30f6fd8b87264223848933afeb047af4..ddb77c41064157b94e60a0abc294ee83065b1929 100644
--- a/tests/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart
+++ b/tests/isolate/scenarios/package_data_uri_spec/package_resolve_test.dart
@@ -13,7 +13,6 @@ final PACKAGE_SPEC = """
foo:file:///no/such/directory/
""";
-
main([args, port]) async {
if (port != null) {
testPackageResolution(port);
@@ -21,10 +20,7 @@ main([args, port]) async {
}
var data = new Uri.dataFromString(PACKAGE_SPEC);
var p = new RawReceivePort();
- Isolate.spawnUri(Platform.script,
- [],
- p.sendPort,
- packageConfig: data);
+ Isolate.spawnUri(Platform.script, [], p.sendPort, packageConfig: data);
p.handler = (msg) {
p.close();
if (msg is! List) {
@@ -33,7 +29,7 @@ main([args, port]) async {
}
if (msg[0] != data.toString()) {
throw "Bad package config in child isolate: ${msg[0]}\n"
- "Expected: $data";
+ "Expected: $data";
}
if (msg[1] != PACKAGE_PATH) {
throw "Package path not matching: ${msg[1]}";

Powered by Google App Engine
This is Rietveld 408576698