Index: pkg/analyzer/test/src/context/context_test.dart |
diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart |
index 8374e0501d195530e5c914e1b63110a6d2991da1..441cad9c485222d6c705c63c4f422c986a8c73e9 100644 |
--- a/pkg/analyzer/test/src/context/context_test.dart |
+++ b/pkg/analyzer/test/src/context/context_test.dart |
@@ -4326,9 +4326,8 @@ class B extends A { |
} |
'''); |
_performPendingAnalysisTasks(); |
- expect(context.getErrors(a).errors, hasLength(2)); |
+ expect(context.getErrors(a).errors, hasLength(1)); |
// Update a.dart: rename "int foo" to "int bar". |
- // The strong mode "getter cannot override field" error is gone. |
context.setContents( |
a, |
r''' |