made string calls more precise
This commit is contained in:
parent
d35e13afdb
commit
749a92dff8
|
@ -58,9 +58,9 @@ Describe "Test-Format-List" {
|
|||
It "Should not show anything other than the requested props" {
|
||||
$output = Get-Process | Format-List -Property Name | Out-String
|
||||
|
||||
$output | Should Not Match "CPU"
|
||||
$output | Should Not Match "Id"
|
||||
$output | Should Not Match "Handle"
|
||||
$output | Should Not Match "CPU :"
|
||||
$output | Should Not Match "Id :"
|
||||
$output | Should Not Match "Handle :"
|
||||
}
|
||||
|
||||
It "Should be able to take input without piping objects to it" {
|
||||
|
|
Loading…
Reference in a new issue