added test to validate that alias and Cmdlet produce the same output
This commit is contained in:
parent
781a2dad79
commit
ab5deaea2d
|
@ -14,6 +14,13 @@
|
|||
gdr | Should Not BeNullOrEmpty
|
||||
}
|
||||
|
||||
It "Should be the same output between Get-PSDrive and gdr" {
|
||||
$alias = gdr
|
||||
$actual = Get-PSDrive
|
||||
|
||||
$alias | Should Be $actual
|
||||
}
|
||||
|
||||
It "Should return drive info"{
|
||||
(Get-PSDrive Env).Name | Should Be Env
|
||||
(Get-PSDrive /).Root | Should Be /
|
||||
|
|
Loading…
Reference in a new issue