Index: pkg/analyzer_cli/test/driver_test.dart |
diff --git a/pkg/analyzer_cli/test/driver_test.dart b/pkg/analyzer_cli/test/driver_test.dart |
index 81eb70c5e1a0795277a4869d85a83b79751a1d3e..a9884623084d33d0a538d45f11874e5a4e34e571 100644 |
--- a/pkg/analyzer_cli/test/driver_test.dart |
+++ b/pkg/analyzer_cli/test/driver_test.dart |
@@ -89,6 +89,12 @@ main() { |
expect(exitCode, 3); |
}); |
+ test('not parse enableAssertInitializer', () async { |
+ await drive('data/file_with_assert_initializers.dart', |
+ args: ['--enable-assert-initializers']); |
+ expect(exitCode, 0); |
+ }); |
+ |
test('missing options file', () async { |
await drive('data/test_file.dart', options: 'data/NO_OPTIONS_HERE'); |
expect(exitCode, 3); |