Skip to content

Commit 3fa686c

Browse files
authored
MINOR: fix test for windows checkSidecarOsAndArch: Should not throw exception against correct binary (#1265)
1 parent 77b200f commit 3fa686c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sidecar/checkArchitecture.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const platformArchToBinaryName: Map<string, string> = new Map([
1111
["linux-arm64", join(binariesDir, "linux-arm64")],
1212
["darwin-x64", join(binariesDir, "osx-amd64")],
1313
["darwin-arm64", join(binariesDir, "osx-aarch64")],
14-
["windows-x64", join(binariesDir, "windows-x64")],
14+
["win32-x64", join(binariesDir, "windows-x64")],
1515
]);
1616

1717
describe("getSidecarPlatformArch", () => {
@@ -40,7 +40,7 @@ describe("getSidecarPlatformArch", () => {
4040
});
4141

4242
it("should return the correct platform and architecture for a Windows+x64 sidecar", () => {
43-
const path = platformArchToBinaryName.get("windows-x64");
43+
const path = platformArchToBinaryName.get("win32-x64");
4444
const platformArch = getSidecarPlatformArch(path!);
4545
assert.deepStrictEqual(platformArch, new PlatformArch("win32", "x64"));
4646
});

0 commit comments

Comments
 (0)