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
+3 -3
View File
@@ -4,14 +4,14 @@
Describe "Verify PowerShell Runs" {
BeforeAll{
$options = (Get-PSOptions)
$path = split-path -path $options.Output
$path = Split-Path -Path $options.Output
Write-Verbose "Path: '$path'" -Verbose
$rootPath = split-Path -path $path
$rootPath = Split-Path -Path $path
$mount = 'C:\powershell'
$container = 'mcr.microsoft.com/powershell:nanoserver-1803'
}
it "Verify Version " {
It "Verify Version " {
$version = docker run --rm -v "${rootPath}:${mount}" ${container} "${mount}\publish\pwsh" -NoLogo -NoProfile -Command '$PSVersionTable.PSVersion.ToString()'
$version | Should -Match '^7\.'
}