mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add regression test for Get-Process -IncludeUserName
This commit is contained in:
1 parent
f3328fec5c
commit
6f938bd860
1 file changed
+4
@@ -1,4 +1,8 @@
|
||||
Describe "Get-Process" {
|
||||
It "Should support -IncludeUserName" {
|
||||
(Get-Process powershell -IncludeUserName | Select-Object -First 1).UserName | Should Match $env:USERNAME
|
||||
}
|
||||
|
||||
# These tests are no good, please replace!
|
||||
It "Should return a type of Object[] for Get-Process cmdlet" -Pending:$IsOSX {
|
||||
(Get-Process).GetType().BaseType | Should Be 'array'
|
||||
|
||||
Reference in new issue
Block a user