mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584)
This commit is contained in:
@@ -89,8 +89,8 @@ Describe 'Get-Help -Online opens the default web browser and navigates to the cm
|
||||
}
|
||||
}
|
||||
|
||||
It "Get-Help get-process -online" -skip:$skipTest {
|
||||
{ Get-Help get-process -online } | Should -Not -Throw
|
||||
It "Get-Help get-process -online" -Skip:$skipTest {
|
||||
{ Get-Help get-process -Online } | Should -Not -Throw
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ Describe 'Get-Help -Online is not supported on Nano Server and IoT' -Tags "CI" {
|
||||
|
||||
$skipTest = -not ([System.Management.Automation.Platform]::IsIoT -or [System.Management.Automation.Platform]::IsNanoServer)
|
||||
|
||||
It "Get-help -online <cmdletName> throws InvalidOperation." -skip:$skipTest {
|
||||
It "Get-help -online <cmdletName> throws InvalidOperation." -Skip:$skipTest {
|
||||
{ Get-Help Get-Help -Online } | Should -Throw -ErrorId "InvalidOperation,Microsoft.PowerShell.Commands.GetHelpCommand"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user