| Index: tests/compiler/dart2js/resolver_test.dart
|
| diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
|
| index 207ffa4488d646e80554efb8c8af1c8ebe4248ae..785d6d5e5b1bd915e7906dd4e4f339c51a2850c6 100644
|
| --- a/tests/compiler/dart2js/resolver_test.dart
|
| +++ b/tests/compiler/dart2js/resolver_test.dart
|
| @@ -817,7 +817,7 @@ Future testEnumDeclaration() {
|
| 'Unexpected warnings: ${compiler.warnings}');
|
| Expect.equals(1, compiler.errors.length,
|
| 'Unexpected errors: ${compiler.errors}');
|
| - }, enableEnums: true),
|
| + }),
|
|
|
| MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("""enum Enum { A }
|
| @@ -828,7 +828,7 @@ Future testEnumDeclaration() {
|
| 'Unexpected warnings: ${compiler.warnings}');
|
| Expect.equals(0, compiler.errors.length,
|
| 'Unexpected errors: ${compiler.errors}');
|
| - }, enableEnums: true),
|
| + }),
|
|
|
| MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("""enum Enum { A }
|
| @@ -841,7 +841,7 @@ Future testEnumDeclaration() {
|
| compiler.warnings[0].message.kind);
|
| Expect.equals(0, compiler.errors.length,
|
| 'Unexpected errors: ${compiler.errors}');
|
| - }, enableEnums: true),
|
| + }),
|
|
|
| MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("""enum Enum { A }
|
| @@ -852,7 +852,7 @@ Future testEnumDeclaration() {
|
| 'Unexpected warnings: ${compiler.warnings}');
|
| Expect.equals(0, compiler.errors.length,
|
| 'Unexpected errors: ${compiler.errors}');
|
| - }, enableEnums: true),
|
| + }),
|
|
|
| MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("""enum Enum { A }
|
| @@ -865,7 +865,7 @@ Future testEnumDeclaration() {
|
| 'Unexpected errors: ${compiler.errors}');
|
| Expect.equals(MessageKind.CANNOT_INSTANTIATE_ENUM,
|
| compiler.errors[0].message.kind);
|
| - }, enableEnums: true),
|
| + }),
|
|
|
| MockCompiler.create((MockCompiler compiler) {
|
| compiler.parseScript("""enum Enum { A }
|
| @@ -878,7 +878,7 @@ Future testEnumDeclaration() {
|
| 'Unexpected errors: ${compiler.errors}');
|
| Expect.equals(MessageKind.CANNOT_INSTANTIATE_ENUM,
|
| compiler.errors[0].message.kind);
|
| - }, enableEnums: true),
|
| + }),
|
| ]);
|
| }
|
|
|
|
|