Index: pkg/analysis_server/test/search/top_level_declarations_test.dart |
diff --git a/pkg/analysis_server/test/search/top_level_declarations_test.dart b/pkg/analysis_server/test/search/top_level_declarations_test.dart |
index a155e0723662c8b1ea675c2131967200e5945833..22216a6b9d8143be9fa552f13c8b70210e5c5478 100644 |
--- a/pkg/analysis_server/test/search/top_level_declarations_test.dart |
+++ b/pkg/analysis_server/test/search/top_level_declarations_test.dart |
@@ -56,6 +56,12 @@ class TopLevelDeclarationsTest extends AbstractSearchDomainTest { |
return null; |
} |
+ @override |
+ void setUp() { |
+ enableNewAnalysisDriver = true; |
+ super.setUp(); |
+ } |
+ |
test_invalidRegex() async { |
var result = await findTopLevelDeclarations('[A'); |
expect(result, new isInstanceOf<RequestError>()); |