Index: tests/compiler/dart2js_native/native_class_with_dart_methods_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_class_with_dart_methods_frog_test.dart b/tests/compiler/dart2js_native/native_class_with_dart_methods_frog_test.dart |
index e2200baa50b7b3eccc054f7322fde04f54edec70..08d19ef10c657ed18f3af9242c09f1e72da233ab 100644 |
--- a/tests/compiler/dart2js_native/native_class_with_dart_methods_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_class_with_dart_methods_frog_test.dart |
@@ -9,23 +9,23 @@ import "package:expect/expect.dart"; |
@Native("A") |
class A { |
- |
var _field; |
int get X => _field; |
- void set X(int x) { _field = x; } |
+ void set X(int x) { |
+ _field = x; |
+ } |
int method(int z) => _field + z; |
} |
-A makeA() native; |
+A makeA() native ; |
void setup() native """ |
function A() {} |
makeA = function(){return new A;}; |
"""; |
- |
main() { |
setup(); |