Skip to content

Commit 4d4ceae

Browse files
afrassoYour Name
andauthored
fix: normalize Windows drive letter matching test failure stacks (#796)
Co-authored-by: Your Name <you@example.com>
1 parent cc9c1c8 commit 4d4ceae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/extension/src/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ function parseLocationFromStacks(
552552
): DebuggerLocation | undefined {
553553
if (stacks.length === 0) return undefined
554554

555-
const targetFilepath = testItem.uri!.fsPath
555+
const targetFilepath = normalizeDriveLetter(testItem.uri!.fsPath)
556556
for (const stack of stacks) {
557557
const { sourceFilepath, line, column } = getSourceFilepathAndLocationFromStack(stack)
558558
const sourceNormalizedPath = sourceFilepath && normalizeDriveLetter(sourceFilepath)

0 commit comments

Comments
 (0)