diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 index 0eed891a6c..027da83846 100644 --- a/src/pester-tests/Test-Select-String.Tests.ps1 +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -128,6 +128,7 @@ pushd $testDirectory Select-String matches $testDirectory/testfile1.txt | Should Match $expected + popd } It "Should return the fourth line in testfile1 when a regular expression is used"{