| 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]}";
|
|
|