diff --git a/test/powershell/Export-Csv.Tests.ps1 b/test/powershell/Export-Csv.Tests.ps1 index ec41322b94..3acbc931a1 100644 --- a/test/powershell/Export-Csv.Tests.ps1 +++ b/test/powershell/Export-Csv.Tests.ps1 @@ -97,6 +97,6 @@ Describe "Export-Csv DRT Unit Tests" -Tags DRT{ $results.P2 | Should be "second" $property = $results | Get-Member | ? { $_.MemberType -eq "NoteProperty" } | % { $_.Name } - $property -notcontains "P1" | Should Be $true + $property | should not be P1 } }