Skip to content

Commit 01657f9

Browse files
authored
Update platform.test.ts
1 parent faee4a7 commit 01657f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/platform.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ suite("Platform module", () => {
4646

4747
checkDefaultPowerShellPath(
4848
platformDetails,
49-
platform.getAvailablePowerShellExes(platformDetails, undefined)[0].exePath);
49+
platform.getAvailablePowerShellExes(platformDetails, undefined)[0].versionName);
5050

5151
checkAvailableWindowsPowerShellPaths(
5252
platformDetails,
@@ -76,7 +76,7 @@ suite("Platform module", () => {
7676

7777
checkDefaultPowerShellPath(
7878
platformDetails,
79-
platform.getAvailablePowerShellExes(platformDetails, undefined)[2].exePath);
79+
platform.getAvailablePowerShellExes(platformDetails, undefined)[2].versionName);
8080

8181
checkAvailableWindowsPowerShellPaths(
8282
platformDetails,
@@ -106,7 +106,7 @@ suite("Platform module", () => {
106106

107107
checkDefaultPowerShellPath(
108108
platformDetails,
109-
platform.getAvailablePowerShellExes(platformDetails, undefined)[1].exePath);
109+
platform.getAvailablePowerShellExes(platformDetails, undefined)[1].versionName);
110110

111111
checkAvailableWindowsPowerShellPaths(
112112
platformDetails,

0 commit comments

Comments
 (0)