Index: tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
index 886e33f6b9b6c4eecd2e5891d6543fe3d28f7429..0f1d0091fd8df1a50058e60603f9c54b2758eec3 100644 |
--- a/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
import "dart:mirrors" show reflect; |
+import "dart:_js_helper"; |
import "package:expect/expect.dart"; |
class GetName { |
@@ -11,11 +12,13 @@ class GetName { |
String getName(im) => reflect(new GetName()).delegate(im); |
-class A native "A" { |
+@Native("A") |
+class A { |
bar() => 42; |
} |
-class B native "B" { |
+@Native("B") |
+class B { |
foo() => 42; |
} |