From 749a92dff80ca2f82f489beba3508b81fce8108a Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Fri, 7 Aug 2015 14:52:19 -0700 Subject: [PATCH] made string calls more precise --- src/pester-tests/Test-Format-List.Tests.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pester-tests/Test-Format-List.Tests.ps1 b/src/pester-tests/Test-Format-List.Tests.ps1 index da0069abb8..d284128dd5 100644 --- a/src/pester-tests/Test-Format-List.Tests.ps1 +++ b/src/pester-tests/Test-Format-List.Tests.ps1 @@ -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" {