Index: pkg/analysis_server/test/search/element_references_test.dart |
diff --git a/pkg/analysis_server/test/search/element_references_test.dart b/pkg/analysis_server/test/search/element_references_test.dart |
index 71c29f993e2eec835e20bfe5e4af4db5e521853b..e21ec9a39a6c7dd700cf9d3e27c3459966e95bc0 100644 |
--- a/pkg/analysis_server/test/search/element_references_test.dart |
+++ b/pkg/analysis_server/test/search/element_references_test.dart |
@@ -21,6 +21,9 @@ main() { |
class ElementReferencesTest extends AbstractSearchDomainTest { |
Element searchElement; |
+ @override |
+ bool get enableNewAnalysisDriver => false; |
+ |
void assertHasRef(SearchResultKind kind, String search, bool isPotential) { |
assertHasResult(kind, search); |
expect(result.isPotential, isPotential); |
@@ -43,12 +46,6 @@ class ElementReferencesTest extends AbstractSearchDomainTest { |
expect(serverErrors, isEmpty); |
} |
- @override |
- void setUp() { |
- enableNewAnalysisDriver = false; |
- super.setUp(); |
- } |
- |
test_constructor_named() async { |
addTestFile(''' |
class A { |