diff --git a/pkg/analysis_server/test/src/plugin/plugin_isolate_test.dart b/pkg/analysis_server/test/src/plugin/plugin_isolate_test.dart index 8ef6b2eff6c..9fe96896b98 100644 --- a/pkg/analysis_server/test/src/plugin/plugin_isolate_test.dart +++ b/pkg/analysis_server/test/src/plugin/plugin_isolate_test.dart @@ -71,7 +71,7 @@ class PluginIsolateTest with ResourceProviderMixin, _ContextRoot { expect(roots1[0]['optionsFile'], optionsFile.path); expect(sentRequests[1].method, 'analysis.setAnalysisRoots'); var roots2 = sentRequests[1].params['included'] as List; - expect(roots2, ['/pkg1']); + expect(roots2, [contextRoot.root.path]); } void test_creation() {