Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584)

This commit is contained in:
xtqqczze
2020-05-07 17:00:30 +05:00
committed by GitHub
parent 71d8876e60
commit f4382202ae
230 changed files with 1315 additions and 1315 deletions
@@ -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"
}
}