commit | 2bbd3bc67e5c26e01d6ae2362f9bc91b6fb98068 | [log] [tgz] |
---|---|---|
author | Danny Tuppeny <danny@tuppeny.com> | Fri Feb 18 19:56:12 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 18 19:56:12 2022 +0000 |
tree | 10d45aede8626b641d0b7070e14b4384f1000823 | |
parent | bf491f87cd777eada86f8ca90afc355826b112c1 [diff] |
[analysis_server] Fix code_actions_fixes test on Windows Fixes https://github.com/dart-lang/sdk/issues/48431. Change-Id: Ifb15a2fbd1949ba6e825f6fb2769eb790588a60f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233567 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart b/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart index 925b13b..9a541dc 100644 --- a/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart +++ b/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart
@@ -341,7 +341,7 @@ } Future<void> test_outsideRoot() async { - final otherFilePath = '/home/otherProject/foo.dart'; + final otherFilePath = convertPath('/home/otherProject/foo.dart'); final otherFileUri = Uri.file(otherFilePath); newFile(otherFilePath, content: 'bad code to create error'); await initialize(