Skip to content

Commit 69ba02b

Browse files
committed
Fix unit test
1 parent ebadeb2 commit 69ba02b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Private/SetModuleContent.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ Describe "SetModuleContent" {
183183
# Replacing CRLF to LF to support cross-platform testing.
184184
$Content = (Get-Content TestDrive:\Output.psm1 -Raw) -replace '\r?\n', "`n"
185185

186-
$Content | Should -Match "\#Region\ '\.\\Private\\First\.ps1'\ -1\n{1,}"
187-
$Content | Should -Match "\#Region\ '\.\\Private\\Second\.ps1'\ -1\n{1,}"
188-
$Content | Should -Match "\#Region\ '\.\\Public\\Third\.ps1'\ -1\n{1,}"
186+
$Content | Should -Match "\#Region\ '\.\\Private\\First\.ps1'\ -1\n{2,}"
187+
$Content | Should -Match "\#Region\ '\.\\Private\\Second\.ps1'\ -1\n{2,}"
188+
$Content | Should -Match "\#Region\ '\.\\Public\\Third\.ps1'\ -1\n{2,}"
189189
}
190190
}
191191
}

0 commit comments

Comments
 (0)