Skip to content

Commit 6333bf6

Browse files
committed
test: fix OpenCppCoverage path test
1 parent abb5917 commit 6333bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/opencppcoverage/__tests__/opencppcoverage.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ describe("setup-OpenCppCoverage", () => {
77
if (process.platform !== "win32") {
88
return
99
}
10-
await setupOpencppcoverage("", "", process.arch)
10+
const installationInfo = await setupOpencppcoverage("", "", process.arch)
1111

12-
await testBin("OpenCppCoverage", null) // OpenCppCoverage exits with non-zero even with --help
12+
await testBin("OpenCppCoverage", null, installationInfo?.binDir) // OpenCppCoverage exits with non-zero even with --help
1313
})
1414
})

0 commit comments

Comments
 (0)