| Index: runtime/observatory/tests/service/bad_reload_test.dart
|
| diff --git a/runtime/observatory/tests/service/bad_reload_test.dart b/runtime/observatory/tests/service/bad_reload_test.dart
|
| index a07381edc0fc3004a2513880ecf0e8ab2a60daf5..a11a3d8326cf43fd349bd4a8f8fc284cca8247d4 100644
|
| --- a/runtime/observatory/tests/service/bad_reload_test.dart
|
| +++ b/runtime/observatory/tests/service/bad_reload_test.dart
|
| @@ -14,7 +14,8 @@ 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('bad_reload/v1/main.dart'));
|
| @@ -22,9 +23,12 @@ Uri v2Uri = baseUri.resolveUri(Uri.parse('bad_reload/v2/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();
|
| }
|
| @@ -62,7 +66,7 @@ var tests = [
|
|
|
| // Reload to v2.
|
| var response = await slaveIsolate.reloadSources(
|
| - rootLibUri: v2Uri.toString(),
|
| + rootLibUri: v2Uri.toString(),
|
| );
|
| // Observe that it failed.
|
| expect(response['success'], isFalse);
|
|
|