diff --git a/src/pester-tests/Test-Split-Path.Tests.ps1 b/src/pester-tests/Test-Split-Path.Tests.ps1 index 33c1f5a96c..c200f35d5a 100644 --- a/src/pester-tests/Test-Split-Path.Tests.ps1 +++ b/src/pester-tests/Test-Split-Path.Tests.ps1 @@ -52,7 +52,7 @@ } It "Should return the path up to the parent of the directory when Parent switch is used" { - Split-Path "/usr/bin" | Should Be ( Split-Path "/usr/bin" -Parent ) + Split-Path "/usr/bin" -Parent | Should Be ( Split-Path "/usr/bin" -Parent ) } It "Should not throw if a parameterSetName is correct" {