| Index: dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart b/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| index 635859519fd9918e4e328c6ae5fabacd4feba094..86e9fd07a1f7bb8327a541595774fab5a64dedc9 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| @@ -2,12 +2,14 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -@native("= {log: function() { return 42 } }")
|
| +import 'native_metadata.dart';
|
| +
|
| +@Native("= {log: function() { return 42 } }")
|
| class A {
|
| @native void log();
|
| }
|
|
|
| -@native("""
|
| +@Native("""
|
| return A;
|
| """)
|
| getA();
|
|
|