| Index: runtime/observatory/tests/service/complex_reload_test.dart
|
| diff --git a/runtime/observatory/tests/service/complex_reload_test.dart b/runtime/observatory/tests/service/complex_reload_test.dart
|
| index 9590708cbb210b725f96d9832be761827ad43ad6..d2aa20ab71ab0e89de4b92fe52c95eb0187ddfd0 100644
|
| --- a/runtime/observatory/tests/service/complex_reload_test.dart
|
| +++ b/runtime/observatory/tests/service/complex_reload_test.dart
|
| @@ -14,8 +14,7 @@ import 'package:path/path.dart' as path;
|
| import 'package:unittest/unittest.dart';
|
|
|
| // Chop off the file name.
|
| -String baseDirectory =
|
| - path.dirname(Platform.script.path) + '/';
|
| +String baseDirectory = path.dirname(Platform.script.path) + '/';
|
|
|
| Uri baseUri = Platform.script.replace(path: baseDirectory);
|
| Uri spawnUri = baseUri.resolveUri(Uri.parse('complex_reload/v1/main.dart'));
|
| @@ -24,12 +23,9 @@ Uri v3Uri = baseUri.resolveUri(Uri.parse('complex_reload/v3/main.dart'));
|
|
|
| testMain() async {
|
| print(baseUri);
|
| - debugger(); // Stop here.
|
| + debugger(); // Stop here.
|
| // Spawn the child isolate.
|
| - I.Isolate isolate =
|
| - await I.Isolate.spawnUri(spawnUri,
|
| - [],
|
| - null);
|
| + I.Isolate isolate = await I.Isolate.spawnUri(spawnUri, [], null);
|
| print(isolate);
|
| debugger();
|
| }
|
| @@ -67,7 +63,7 @@ var tests = [
|
|
|
| // Reload to v2.
|
| var response = await slaveIsolate.reloadSources(
|
| - rootLibUri: v2Uri.toString(),
|
| + rootLibUri: v2Uri.toString(),
|
| );
|
| expect(response['success'], isTrue);
|
|
|
|
|