From 0bb9fa32a59c4aea1fe079afbed8b93fb2d3d6aa Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Mon, 1 Jun 2026 07:24:26 -0700 Subject: [PATCH] [analysis_server] Fix isolate plugin test on Windows Fixes: Expected: ['/pkg1'] Actual: ['C:\\pkg1'] Which: at location [0] is 'C:\\pkg1' instead of '/pkg1' Change-Id: I6bd2abaa77eea7193794ece126201958e11639db Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/508040 Reviewed-by: Brian Wilkerson Reviewed-by: Samuel Rawlins --- pkg/analysis_server/test/src/plugin/plugin_isolate_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {