added test to validate that alias and Cmdlet produce the same output
This commit is contained in:
parent
781a2dad79
commit
ab5deaea2d
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@
|
||||||
gdr | Should Not BeNullOrEmpty
|
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"{
|
It "Should return drive info"{
|
||||||
(Get-PSDrive Env).Name | Should Be Env
|
(Get-PSDrive Env).Name | Should Be Env
|
||||||
(Get-PSDrive /).Root | Should Be /
|
(Get-PSDrive /).Root | Should Be /
|
||||||
|
|
Loading…
Reference in a new issue