Fix navigation test on windows

Change-Id: I4689e92cc32ca24c3204270bf378ec35d707d4bb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352480
Commit-Queue: Keerti Parthasarathy <keertip@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Keerti Parthasarathy 2024-02-14 15:48:39 +00:00 committed by Commit Queue
parent 9968419f50
commit 4ef3c33932

View file

@ -391,7 +391,7 @@ class A {
} }
'''); ''');
await prepareNavigation(convertPath(augmentFilePath)); await prepareNavigation(augmentFilePath);
assertHasRegion('bar', targetFile: aFile); assertHasRegion('bar', targetFile: aFile);
assertHasTarget('bar'); assertHasTarget('bar');
} }
@ -417,7 +417,7 @@ void f() {
} }
'''); ''');
await prepareNavigation(convertPath(augmentFilePath)); await prepareNavigation(augmentFilePath);
assertHasRegion('bar', targetFile: aFile); assertHasRegion('bar', targetFile: aFile);
assertHasFileTarget(augmentFilePath, 86, 3); assertHasFileTarget(augmentFilePath, 86, 3);
} }