Bump PSReadLine
from 2.0.2 to 2.0.4 (#13240)
This commit is contained in:
parent
9df6159192
commit
d4e047ce45
|
@ -6,7 +6,7 @@
|
|||
<PackageReference Include="PowerShellGet" Version="2.2.4" />
|
||||
<PackageReference Include="PackageManagement" Version="1.4.7" />
|
||||
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.2.5" />
|
||||
<PackageReference Include="PSReadLine" Version="2.0.2" />
|
||||
<PackageReference Include="PSReadLine" Version="2.0.4" />
|
||||
<PackageReference Include="ThreadJob" Version="2.0.3" />
|
||||
<PackageReference Include="PSDesiredStateConfiguration" Version="2.0.5" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -12,13 +12,13 @@ Describe "PSReadLine" -tags "CI" {
|
|||
Import-Module PSReadLine
|
||||
$module = Get-Module PSReadLine
|
||||
$module.Name | Should -BeExactly 'PSReadLine'
|
||||
$module.Version | Should -BeExactly '2.0.2'
|
||||
$module.Version | Should -Match '^2.0.\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 -BeExactly '2.0.2'
|
||||
$module.Version | Should -Match '^2.0.\d$'
|
||||
$module.Path | Should -Be (Join-Path -Path $PSHOME -ChildPath "Modules/PSReadLine/PSReadLine.psd1")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue