| Index: tests/compiler/dart2js_native/native_method_rename1_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart b/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart
|
| index 820763e8a5b5883c89893f3844ffff3b2b15e0ec..a4add4cce04a56f6884d4a9caa33e83ad499187b 100644
|
| --- a/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_method_rename1_frog_test.dart
|
| @@ -5,9 +5,14 @@
|
| // Test the feature where the native string declares the native method's name.
|
|
|
| class A native "*A" {
|
| - int foo() native 'fooA';
|
| - int bar() native 'barA';
|
| - int baz() native 'bazA';
|
| + @JSName('fooA')
|
| + int foo() native;
|
| +
|
| + @JSName('barA')
|
| + int bar() native;
|
| +
|
| + @JSName('bazA')
|
| + int baz() native;
|
| }
|
|
|
| A makeA() native;
|
|
|