Index: tests/compiler/dart2js_native/native_method_inlining_test.dart |
diff --git a/tests/compiler/dart2js_native/native_method_inlining_test.dart b/tests/compiler/dart2js_native/native_method_inlining_test.dart |
index 07a0620d07b21e9a7d6af39a8a8f1f9b48594db3..dce81ec48ecfb713012fa6193a67898265122ce0 100644 |
--- a/tests/compiler/dart2js_native/native_method_inlining_test.dart |
+++ b/tests/compiler/dart2js_native/native_method_inlining_test.dart |
@@ -5,7 +5,8 @@ |
// Test that native methods with unnamed optional arguments are called with the |
// number of arguments in the call site AND the call site is inlined. |
-import 'native_testing.dart'; |
+import "package:expect/expect.dart"; |
+import 'dart:_js_helper' show Native, NoInline; |
typedef int Int2Int(int x); |
@@ -70,8 +71,6 @@ findMethodTextContaining = function (instance, string) { |
if (s.indexOf(string)>0) return s; |
} |
}; |
- |
-self.nativeConstructor(A); |
"""; |
bool get isCheckedMode { |
@@ -149,7 +148,6 @@ test2() { |
} |
main() { |
- nativeTesting(); |
setup(); |
test1(); |
test2(); |