mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
@@ -15,7 +15,7 @@
|
||||
<PackageReference Include="PackageManagement" Version="1.4.8.1" />
|
||||
<PackageReference Include="Microsoft.PowerShell.PSResourceGet" Version="1.0.0" />
|
||||
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.2.5" />
|
||||
<PackageReference Include="PSReadLine" Version="2.2.6" />
|
||||
<PackageReference Include="PSReadLine" Version="2.3.4" />
|
||||
<PackageReference Include="ThreadJob" Version="2.0.3" />
|
||||
</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.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")
|
||||
}
|
||||
|
||||
|
||||
@@ -827,6 +827,10 @@
|
||||
"Pattern": "Modules/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.psd1",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Modules/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.psm1",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Modules/Microsoft.PowerShell.PSResourceGet/Notice.txt",
|
||||
"FileType": "NonProduct"
|
||||
@@ -900,7 +904,7 @@
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Modules/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.psm1",
|
||||
"Pattern": "Modules\\PSReadLine\\_manifest\\spdx_2.2\\manifest.cat",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user