| Index: pkg/analyzer/test/src/context/cache_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/cache_test.dart b/pkg/analyzer/test/src/context/cache_test.dart
|
| index 6d977d60730f03d92af1ba39c5c9c1d0b515b17c..fd7e955cb40afca594b1603d5da87997898a85bf 100644
|
| --- a/pkg/analyzer/test/src/context/cache_test.dart
|
| +++ b/pkg/analyzer/test/src/context/cache_test.dart
|
| @@ -728,7 +728,7 @@ class SdkCachePartitionTest extends CachePartitionTest {
|
| void test_contains_false() {
|
| CachePartition partition = createPartition();
|
| AnalysisTarget target = new TestSource();
|
| - expect(partition.contains(target), isFalse);
|
| + expect(partition.isResponsibleFor(target), isFalse);
|
| }
|
|
|
| void test_contains_true() {
|
| @@ -736,7 +736,7 @@ class SdkCachePartitionTest extends CachePartitionTest {
|
| SourceFactory factory = new SourceFactory(
|
| [new DartUriResolver(DirectoryBasedDartSdk.defaultSdk)]);
|
| AnalysisTarget target = factory.forUri("dart:core");
|
| - expect(partition.contains(target), isTrue);
|
| + expect(partition.isResponsibleFor(target), isTrue);
|
| }
|
| }
|
|
|
| @@ -749,7 +749,7 @@ class UniversalCachePartitionTest extends CachePartitionTest {
|
| void test_contains() {
|
| UniversalCachePartition partition = new UniversalCachePartition(null);
|
| TestSource source = new TestSource();
|
| - expect(partition.contains(source), isTrue);
|
| + expect(partition.isResponsibleFor(source), isTrue);
|
| }
|
| }
|
|
|
|
|