From 807b47a8ce3b3891d06954d863d7374177f4086e Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 8 Sep 2015 15:59:19 -0700 Subject: [PATCH] Added popd --- src/pester-tests/Test-Select-String.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) 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"{