| 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 dce81ec48ecfb713012fa6193a67898265122ce0..07a0620d07b21e9a7d6af39a8a8f1f9b48594db3 100644
|
| --- a/tests/compiler/dart2js_native/native_method_inlining_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_method_inlining_test.dart
|
| @@ -5,8 +5,7 @@
|
| // 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 "package:expect/expect.dart";
|
| -import 'dart:_js_helper' show Native, NoInline;
|
| +import 'native_testing.dart';
|
|
|
| typedef int Int2Int(int x);
|
|
|
| @@ -71,6 +70,8 @@ findMethodTextContaining = function (instance, string) {
|
| if (s.indexOf(string)>0) return s;
|
| }
|
| };
|
| +
|
| +self.nativeConstructor(A);
|
| """;
|
|
|
| bool get isCheckedMode {
|
| @@ -148,6 +149,7 @@ test2() {
|
| }
|
|
|
| main() {
|
| + nativeTesting();
|
| setup();
|
| test1();
|
| test2();
|
|
|