mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
added test to validate that alias and Cmdlet produce the same output
This commit is contained in:
@@ -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 /
|
||||
|
||||
Reference in New Issue
Block a user