Bump PSReadLine from 2.1.0 to 2.2.2 (#16910)

This commit is contained in:
Dongbo Wang
2022-02-23 11:36:46 -08:00
committed by GitHub
parent 31c14f2ad3
commit 102e8285bb
3 changed files with 30 additions and 6 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.1.\d$'
$module.Version | Should -Match '^2.2.\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.1.\d$'
$module.Version | Should -Match '^2.2.\d$'
$module.Path | Should -Be (Join-Path -Path $PSHOME -ChildPath "Modules/PSReadLine/PSReadLine.psd1")
}