Index: tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart b/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart |
index 8a85ab381efacccd1f0bd23beddd5c2483c95f40..cb093cb6ae199e414483e8aceeff4e99784be2cc 100644 |
--- a/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart |
@@ -15,12 +15,12 @@ abstract class I { |
@Native("A") |
class A implements I { |
- int key; // jsname is 'key' |
+ int key; // jsname is 'key' |
int getKey() => key; |
} |
class B implements I { |
- int key; // jsname is not 'key' |
+ int key; // jsname is not 'key' |
B([this.key = 222]); |
int getKey() => key; |
} |
@@ -28,15 +28,14 @@ class B implements I { |
@Native("X") |
class X { |
@JSName('key') |
- int native_key_method() native; |
+ int native_key_method() native ; |
// This should cause B.key to be renamed, but not A.key. |
@JSName('key') |
- int key() native; |
+ int key() native ; |
} |
-A makeA() native; |
-X makeX() native; |
- |
+A makeA() native ; |
+X makeX() native ; |
void setup() native """ |
// This code is all inside 'setup' and so not accesible from the global scope. |