| Index: tests/compiler/dart2js_native/compute_this_script_test.dart
|
| diff --git a/tests/compiler/dart2js_native/compute_this_script_test.dart b/tests/compiler/dart2js_native/compute_this_script_test.dart
|
| index 55092b404ed669a41c3b21a8455f7c3f8375649d..e8316e82e9fd901dd5aa4bb1e81def6f9a7c953f 100644
|
| --- a/tests/compiler/dart2js_native/compute_this_script_test.dart
|
| +++ b/tests/compiler/dart2js_native/compute_this_script_test.dart
|
| @@ -5,8 +5,14 @@
|
| // Test of IsolateNatives.computeThisScript().
|
|
|
| import 'dart:_isolate_helper';
|
| +// The isolate helper library is not correctly set up if the dart:isolate
|
| +// library hasn't been loaded.
|
| +import 'dart:isolate';
|
|
|
| main() {
|
| + // Need to use the isolate-library so dart2js correctly initializes the
|
| + // library.
|
| + Capability cab = new Capability();
|
| String script = IsolateNatives.computeThisScript();
|
|
|
| // This is somewhat brittle and relies on an implementation detail
|
|
|