Skip to content

Commit b6bb240

Browse files
committed
Add Set-StrictMode -Version 1.0 to unit tests
1 parent 3e30519 commit b6bb240

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/GitHubBranches.tests.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ param()
1515
$moduleRootPath = Split-Path -Path $PSScriptRoot -Parent
1616
. (Join-Path -Path $moduleRootPath -ChildPath 'Tests\Common.ps1')
1717

18+
Set-StrictMode -Version 1.0
19+
1820
try
1921
{
2022
Describe 'Getting branches for repository' {

0 commit comments

Comments
 (0)