| Index: pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| index 4b4bf3d125a90c1d87ea0a0a6e63b1a0248873c5..098ff9446018f2796b051d9e8f92deedb63a2e41 100644
|
| --- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| @@ -256,19 +256,6 @@ main() {
|
| verify([source]);
|
| }
|
|
|
| - void test_assertWithExtraArgument() {
|
| - // TODO(paulberry): once DEP 37 is turned on by default, this test should
|
| - // be removed.
|
| - Source source = addSource('''
|
| -f(bool x) {
|
| - assert(x, 'foo');
|
| -}
|
| -''');
|
| - computeLibrarySourceErrors(source);
|
| - assertErrors(source, [CompileTimeErrorCode.EXTRA_ARGUMENT_TO_ASSERT]);
|
| - verify([source]);
|
| - }
|
| -
|
| void test_async_used_as_identifier_in_annotation() {
|
| Source source = addSource('''
|
| const int async = 0;
|
| @@ -4609,9 +4596,7 @@ class A {
|
| }
|
|
|
| void test_nonConstValueInInitializer_assert_message() {
|
| - resetWithOptions(new AnalysisOptionsImpl()
|
| - ..enableAssertInitializer = true
|
| - ..enableAssertMessage = true);
|
| + resetWithOptions(new AnalysisOptionsImpl()..enableAssertInitializer = true);
|
| Source source = addSource(r'''
|
| class A {
|
| const A(int i) : assert(i < 0, 'isNegative = ${i.isNegative}');
|
|
|