Skip to content

Commit ea9c648

Browse files
DanTupcommit-bot@chromium.org
authored andcommitted
[analyzer] Fix path format in test for windows
Change-Id: I20ddb29e18303ad38a29a98c8ace00ced858b120 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194763 Commit-Queue: Brian Wilkerson <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent 37700c4 commit ea9c648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analysis_server/test/lsp/initialization_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class InitializationTest extends AbstractLspAnalysisServerTest {
313313
}
314314

315315
Future<void> test_emptyAnalysisRoots_projectWithoutPubspec() async {
316-
projectFolderPath = '/home/empty';
316+
projectFolderPath = convertPath('/home/empty');
317317
final nestedFilePath = join(
318318
projectFolderPath, 'nested', 'deeply', 'in', 'folders', 'test.dart');
319319
final nestedFileUri = Uri.file(nestedFilePath);
@@ -534,7 +534,7 @@ class InitializationTest extends AbstractLspAnalysisServerTest {
534534
}
535535

536536
Future<void> test_onlyAnalyzeProjectsWithOpenFiles_withoutPubpsec() async {
537-
projectFolderPath = '/home/empty';
537+
projectFolderPath = convertPath('/home/empty');
538538
final nestedFilePath = join(
539539
projectFolderPath, 'nested', 'deeply', 'in', 'folders', 'test.dart');
540540
final nestedFileUri = Uri.file(nestedFilePath);

0 commit comments

Comments
 (0)