| Index: tests/compiler/dart2js_native/field_type_test.dart
|
| diff --git a/tests/compiler/dart2js_native/field_type_test.dart b/tests/compiler/dart2js_native/field_type_test.dart
|
| index c9f4ec999d7006e7b245bdcb88d0610dbf9ff4ec..ebb83c66f106b8ed0eb22fb728a0af7fb63284c9 100644
|
| --- a/tests/compiler/dart2js_native/field_type_test.dart
|
| +++ b/tests/compiler/dart2js_native/field_type_test.dart
|
| @@ -6,7 +6,8 @@
|
| // This regression test verifies that compiler accounts for hidden constructor
|
| // when analysing field values.
|
|
|
| -import "native_testing.dart";
|
| +import "dart:_js_helper";
|
| +import "package:expect/expect.dart";
|
|
|
| @Native("Node")
|
| class Node {
|
| @@ -47,11 +48,9 @@ void setup() native """
|
| // This code is all inside 'setup' and so not accesible from the global scope.
|
| function Node(parent){ this.parentNode = parent; }
|
| makeNode = function(p){return new Node(p);};
|
| -self.nativeConstructor(Node);
|
| """;
|
|
|
| main() {
|
| - nativeTesting();
|
| setup();
|
|
|
| var n1 = makeNode(null);
|
|
|