| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index 3c37a8512fb7c83e5e4ec431ce90be7e705c0ca4..dab0bc1ded03ffab00caedd7df2ebe75a637ca72 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -39,10 +39,17 @@ testIndexedOperatorDecl() {
|
| testUnparseMember('operator[](int i)=> null;');
|
| }
|
|
|
| +testNativeMethods() {
|
| + testUnparseMember('foo()native;');
|
| + testUnparseMember('foo()native "bar";');
|
| + testUnparseMember('foo()native "this.x = 41";');
|
| +}
|
| +
|
| main() {
|
| testGenericTypes();
|
| testForLoop();
|
| testEmptyList();
|
| testClosure();
|
| testIndexedOperatorDecl();
|
| + testNativeMethods();
|
| }
|
|
|