added test to validate that alias and Cmdlet produce the same output

This commit is contained in:
Zachary Folwick 2015-10-02 15:31:16 -07:00
parent 781a2dad79
commit ab5deaea2d

View file

@ -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 /