test: fix OpenCppCoverage path test

This commit is contained in:
Amin Yahyaabadi 2021-09-17 05:13:37 -05:00
parent abb5917b83
commit 6333bf6bfa
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ describe("setup-OpenCppCoverage", () => {
if (process.platform !== "win32") {
return
}
await setupOpencppcoverage("", "", process.arch)
const installationInfo = await setupOpencppcoverage("", "", process.arch)
await testBin("OpenCppCoverage", null) // OpenCppCoverage exits with non-zero even with --help
await testBin("OpenCppCoverage", null, installationInfo?.binDir) // OpenCppCoverage exits with non-zero even with --help
})
})