Index: pkg/analyzer/test/generated/static_type_analyzer_test.dart |
diff --git a/pkg/analyzer/test/generated/static_type_analyzer_test.dart b/pkg/analyzer/test/generated/static_type_analyzer_test.dart |
index 2fc3fc5cae148a5fcc0270642deee26f443a624b..60854a9b2aa7a1ae1ea5c95f9e99a77b69ebc43b 100644 |
--- a/pkg/analyzer/test/generated/static_type_analyzer_test.dart |
+++ b/pkg/analyzer/test/generated/static_type_analyzer_test.dart |
@@ -1100,7 +1100,10 @@ class StaticTypeAnalyzerTest extends EngineTestCase { |
Identifier identifier = AstFactory.identifier3('a'); |
Expression node = AstFactory.listLiteral([identifier]); |
DartType resultType = _analyze(node); |
- expect(resultType, isNull); |
+ _assertType2( |
+ _typeProvider.listType |
+ .instantiate(<DartType>[_typeProvider.dynamicType]), |
+ resultType); |
_listener.assertNoErrors(); |
} |