Skip to content

Commit a09ee3b

Browse files
authored
Update platform.test.ts
1 parent 4dfe7df commit a09ee3b

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].versionName);
49+
platform.getAvailablePowerShellExes(platformDetails, undefined));
5050

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

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

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

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

111111
checkAvailableWindowsPowerShellPaths(
112112
platformDetails,

0 commit comments

Comments
 (0)