| Index: tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
|
| diff --git a/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart b/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
|
| index 889763c121871b78f219a1dbb7cc3d731c4c6f69..4679254c2b248494b123d4414d443a99ecdace16 100644
|
| --- a/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
|
| +++ b/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
|
| @@ -13,10 +13,8 @@ main([args, port]) async {
|
| return;
|
| }
|
| var p = new RawReceivePort();
|
| - Isolate.spawnUri(Platform.script,
|
| - [],
|
| - p.sendPort,
|
| - automaticPackageResolution: true);
|
| + Isolate.spawnUri(Platform.script, [], p.sendPort,
|
| + automaticPackageResolution: true);
|
| p.handler = (msg) {
|
| p.close();
|
| if (msg is! List) {
|
| @@ -26,12 +24,12 @@ main([args, port]) async {
|
| var child_pkg_root = Platform.script.resolve("packages/");
|
| if (msg[0] != child_pkg_root.toString()) {
|
| throw "Bad package root in child isolate: ${msg[0]}.\n"
|
| - "Expected: $child_pkg_root";
|
| + "Expected: $child_pkg_root";
|
| }
|
| var child_pkg_path = child_pkg_root.resolve("foo/bar.dart");
|
| if (msg[1] != child_pkg_path.toString()) {
|
| throw "Package path not matching: ${msg[1]}\n"
|
| - "Expected $child_pkg_path";
|
| + "Expected $child_pkg_path";
|
| }
|
| print("SUCCESS");
|
| };
|
|
|