| Index: pkg/analyzer/test/generated/resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
|
| index 5de408cbd631290fb28d8fc88daccf59e4997c80..71534fbcc18d1ba518466cca9d25575fecbfb570 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -1244,18 +1244,17 @@ main() {
|
| }''';
|
| Source source = addSource(code);
|
| CompilationUnit unit = await _computeResolvedUnit(source);
|
| - InterfaceType stringType = typeProvider.stringType;
|
| // in the declaration
|
| {
|
| SimpleIdentifier identifier = EngineTestCase.findNode(
|
| unit, code, "e in", (node) => node is SimpleIdentifier);
|
| - expect(identifier.propagatedType, same(stringType));
|
| + expect(identifier.propagatedType, typeProvider.stringType);
|
| }
|
| // in the loop body
|
| {
|
| SimpleIdentifier identifier = EngineTestCase.findNode(
|
| unit, code, "e;", (node) => node is SimpleIdentifier);
|
| - expect(identifier.propagatedType, same(stringType));
|
| + expect(identifier.propagatedType, typeProvider.stringType);
|
| }
|
| }
|
|
|
| @@ -1269,18 +1268,17 @@ f(Stream<String> stream) async {
|
| }''';
|
| Source source = addSource(code);
|
| CompilationUnit unit = await _computeResolvedUnit(source);
|
| - InterfaceType stringType = typeProvider.stringType;
|
| // in the declaration
|
| {
|
| SimpleIdentifier identifier = EngineTestCase.findNode(
|
| unit, code, "e in", (node) => node is SimpleIdentifier);
|
| - expect(identifier.propagatedType, same(stringType));
|
| + expect(identifier.propagatedType, typeProvider.stringType);
|
| }
|
| // in the loop body
|
| {
|
| SimpleIdentifier identifier = EngineTestCase.findNode(
|
| unit, code, "e;", (node) => node is SimpleIdentifier);
|
| - expect(identifier.propagatedType, same(stringType));
|
| + expect(identifier.propagatedType, typeProvider.stringType);
|
| }
|
| }
|
|
|
|
|