/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/powershell/Modules/Microsoft.PowerShell.Management/Get-Location.Tests.ps1
21 строка
522 B
xtqqczze
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584)
07 май 2020, 15:00
Не верифицирован
07 май 2020, 15:00
f438220
Код
Авторство
О чём код?
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. Describe "Get-Location" -Tags "CI" { $currentDirectory=[System.IO.Directory]::GetCurrentDirectory() BeforeEach { Push-Location $currentDirectory } AfterEach { Pop-Location } It "Should list the output of the current working directory" { (Get-Location).Path | Should -BeExactly $currentDirectory } It "Should do exactly the same thing as its alias" { (pwd).Path | Should -BeExactly (Get-Location).Path } }