mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove ThreadJob module and update PSReadLine to 2.4.4-beta4 (#26120)
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
<PackageReference Include="PackageManagement" Version="1.4.8.1" />
|
||||
<PackageReference Include="Microsoft.PowerShell.PSResourceGet" Version="1.2.0-preview3" />
|
||||
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.2.5" />
|
||||
<PackageReference Include="PSReadLine" Version="2.3.6" />
|
||||
<PackageReference Include="ThreadJob" Version="2.1.0" />
|
||||
<PackageReference Include="PSReadLine" Version="2.4.4-beta4" />
|
||||
<PackageReference Include="Microsoft.PowerShell.ThreadJob" Version="2.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@ Describe "PSReadLine" -tags "CI" {
|
||||
Import-Module PSReadLine
|
||||
$module = Get-Module PSReadLine
|
||||
$module.Name | Should -BeExactly 'PSReadLine'
|
||||
$module.Version | Should -Match '^2.3.\d$'
|
||||
$module.Version | Should -Match '^2.4.\d$'
|
||||
}
|
||||
|
||||
It "Should be installed to `$PSHOME" {
|
||||
$module = Get-Module (Join-Path -Path $PSHOME -ChildPath "Modules" -AdditionalChildPath "PSReadLine") -ListAvailable
|
||||
$module.Name | Should -BeExactly 'PSReadLine'
|
||||
$module.Version | Should -Match '^2.3.\d$'
|
||||
$module.Version | Should -Match '^2.4.\d$'
|
||||
$module.Path | Should -Be (Join-Path -Path $PSHOME -ChildPath "Modules/PSReadLine/PSReadLine.psd1")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user