From b0d7a2153e816a6415aa6c1d5138de5b60a46e14 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Thu, 6 Aug 2015 11:31:30 -0700 Subject: [PATCH] changed it statement to accurately reflect test --- src/pester-tests/Test-Format-List.Tests.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pester-tests/Test-Format-List.Tests.ps1 b/src/pester-tests/Test-Format-List.Tests.ps1 index 918f2f318..0895f6b99 100644 --- a/src/pester-tests/Test-Format-List.Tests.ps1 +++ b/src/pester-tests/Test-Format-List.Tests.ps1 @@ -34,14 +34,12 @@ Describe "Test-Format-List" { { $testCommand | fl -Property Name,BasePriority } | Should Not Throw } - It "Should not show only the requested props" { + It "Should not show anything other than the requested props" { $testCommand = Get-Process ( $testCommand | Format-List | Out-String).Contains("CPU") | Should Be $true ( $testCommand | Format-List -Property Name | Out-String).Contains("CPU") | Should Be $false - ( $testCommand | fl | Out-String).Contains("CPU") | Should Be $true - ( $testCommand | fl -Property Name | Out-String).Contains("CPU") | Should Be $false } It "Should be able to take input without piping objects to it" {