Index: tests/compiler/dart2js_native/native_null_closure_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_null_closure_frog_test.dart b/tests/compiler/dart2js_native/native_null_closure_frog_test.dart |
index 6c083751b7175ed9c4cc628184616f9cd791261f..69f9e0c59e4ed368d7f56e3b76f29e4963e5f39e 100644 |
--- a/tests/compiler/dart2js_native/native_null_closure_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_null_closure_frog_test.dart |
@@ -4,13 +4,14 @@ |
// Test that exception unwrapping handle cases like ({foo:null}).foo(). |
-import 'dart:_js_helper'; |
+import "dart:_js_helper"; |
import "package:expect/expect.dart"; |
typedef void MyFunctionType(); |
-class A native "A" { |
+@Native("A") |
+class A { |
setClosure(MyFunctionType f) native; |
check(MyFunctionType f) native; |
invoke() native; |