Commit d84e68c
Probe
Merging #2328 un-skipped the Windows PowerShell E2E suite, which surfaced
a pre-existing host gap in `CanSendGetModuleRequestAsync`: it probed
`Microsoft.PowerShell.Management`, but Windows PowerShell's in-box core
modules are snap-in based and are not returned by
`Get-Module -ListAvailable`. The handler correctly resolved nothing, so
`Assert.NotNull` failed on the Windows PowerShell leg while passing on
PowerShell 7 (where the core modules ship as files).
Probe `Microsoft.PowerShell.Archive` instead: it is a file-based module
present in the module path on both Windows PowerShell and PowerShell 7+,
so the test exercises the handler on every host without skipping or
loosening any assertion.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>Microsoft.PowerShell.Archive in getModule E2E test1 parent eca10bf commit d84e68c
1 file changed
Lines changed: 10 additions & 3 deletions
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
1309 | 1316 | | |
1310 | 1317 | | |
1311 | 1318 | | |
1312 | 1319 | | |
1313 | 1320 | | |
1314 | 1321 | | |
1315 | | - | |
| 1322 | + | |
1316 | 1323 | | |
1317 | 1324 | | |
1318 | 1325 | | |
1319 | 1326 | | |
1320 | | - | |
| 1327 | + | |
1321 | 1328 | | |
1322 | 1329 | | |
1323 | 1330 | | |
| |||
1329 | 1336 | | |
1330 | 1337 | | |
1331 | 1338 | | |
1332 | | - | |
| 1339 | + | |
1333 | 1340 | | |
1334 | 1341 | | |
1335 | 1342 | | |
| |||
0 commit comments