Skip to content

Commit

Permalink
Merge pull request pester#441 from dlwyatt/V2Fix
Browse files Browse the repository at this point in the history
Small fix for PowerShell v2
  • Loading branch information
dlwyatt committed Dec 20, 2015
2 parents 244d553 + c97081b commit 497705f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pester.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ about_pester

Set-ScriptBlockScope -ScriptBlock $invokeTestScript -SessionState $PSCmdlet.SessionState

$testScripts = ResolveTestScripts $Script
$testScripts = @(ResolveTestScripts $Script)

foreach ($testScript in $testScripts)
{
Expand Down

0 comments on commit 497705f

Please sign in to comment.