| 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 dbaf418c56e20ff80fe0dd0ff998c093d3214823..0f4ea1353c8db09966284ce417b1c18631a7bd24 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -564,7 +564,7 @@ void f(x) {}''');
|
| expect(context.getResolvedCompilationUnit2(libSource, libSource), isNotNull,
|
| reason: "library resolved 1");
|
| expect(
|
| - context.getResolvedCompilationUnit2(partSource, libSource), isNotNull,
|
| + context.getResolvedCompilationUnit2(partSource, partSource), isNotNull,
|
| reason: "part resolved 1");
|
| // update and analyze
|
| context.setContents(partSource, r'''
|
| @@ -572,7 +572,7 @@ part of lib;
|
| void g() { f(null); }''');
|
| expect(context.getResolvedCompilationUnit2(libSource, libSource), isNull,
|
| reason: "library changed 2");
|
| - expect(context.getResolvedCompilationUnit2(partSource, libSource), isNull,
|
| + expect(context.getResolvedCompilationUnit2(partSource, partSource), isNull,
|
| reason: "part changed 2");
|
| _analyzeAll_assertFinished();
|
| expect(context.getResolvedCompilationUnit2(libSource, libSource), isNotNull,
|
|
|