| Index: pkg/analysis_server/test/services/completion/completion_manager_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/completion_manager_test.dart b/pkg/analysis_server/test/services/completion/completion_manager_test.dart
|
| index 5185bdc41c3688c90f02bb6fed12abacc56edb00..fef67892219fb9e2e495ea858353c501376b239e 100644
|
| --- a/pkg/analysis_server/test/services/completion/completion_manager_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/completion_manager_test.dart
|
| @@ -20,33 +20,28 @@ main() {
|
| @ReflectiveTestCase()
|
| class CompletionManagerTest extends AbstractContextTest {
|
| var perf = new CompletionPerformance();
|
| - var cache = null;
|
|
|
| test_dart() {
|
| Source source = addSource('/does/not/exist.dart', '');
|
| - var manager =
|
| - new CompletionManager.create(context, source, null, cache);
|
| + var manager = new CompletionManager.create(context, source, null);
|
| expect(manager.runtimeType, DartCompletionManager);
|
| }
|
|
|
| test_html() {
|
| Source source = addSource('/does/not/exist.html', '');
|
| - var manager =
|
| - new CompletionManager.create(context, source, null, cache);
|
| + var manager = new CompletionManager.create(context, source, null);
|
| expect(manager.runtimeType, NoOpCompletionManager);
|
| }
|
|
|
| test_null_context() {
|
| Source source = addSource('/does/not/exist.dart', '');
|
| - var manager =
|
| - new CompletionManager.create(null, source, null, cache);
|
| + var manager = new CompletionManager.create(null, source, null);
|
| expect(manager.runtimeType, NoOpCompletionManager);
|
| }
|
|
|
| test_other() {
|
| Source source = addSource('/does/not/exist.foo', '');
|
| - var manager =
|
| - new CompletionManager.create(context, source, null, cache);
|
| + var manager = new CompletionManager.create(context, source, null);
|
| expect(manager.runtimeType, NoOpCompletionManager);
|
| }
|
| }
|
|
|