Index: tests/compiler/dart2js_native/native_exception2_test.dart |
diff --git a/tests/compiler/dart2js_native/native_exception2_test.dart b/tests/compiler/dart2js_native/native_exception2_test.dart |
index 916709b2f185943c9ccda8751803e6d87ce76bb2..44f89fba9757ed48bcb595fe5fb54bee0d72ad17 100644 |
--- a/tests/compiler/dart2js_native/native_exception2_test.dart |
+++ b/tests/compiler/dart2js_native/native_exception2_test.dart |
@@ -8,24 +8,19 @@ |
library native_exception2_test; |
import 'native_exception_test.dart' as other; |
-import 'native_testing.dart'; |
+import 'dart:_js_helper'; |
@Native("NativeClass") |
-class NativeClass { |
- foo() => 'oof'; |
-} |
+class NativeClass {} |
makeNativeClass() native ; |
setup() native """ |
function NativeClass() {} |
makeNativeClass = function() { return new NativeClass; } |
-self.nativeConstructor(NativeClass); |
"""; |
main() { |
- nativeTesting(); |
setup(); |
- Expect.equals('oof', makeNativeClass().foo()); |
other.main(); |
} |