Bump PSReadLine from 2.2.6 to 2.3.4 (#20305)

This commit is contained in:
Dongbo Wang
2023-10-03 11:28:44 -07:00
committed by GitHub
parent 8f09e3c2d8
commit 109c2425ac
3 changed files with 8 additions and 4 deletions
@@ -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.2.\d$'
$module.Version | Should -Match '^2.3.\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.2.\d$'
$module.Version | Should -Match '^2.3.\d$'
$module.Path | Should -Be (Join-Path -Path $PSHOME -ChildPath "Modules/PSReadLine/PSReadLine.psd1")
}