Skip to content

Commit a34bdc6

Browse files
adityapatwardhanvors
authored andcommitted
Changed 'Should Contain' to 'Should FileContentMatch' (#313)
1 parent 9284254 commit a34bdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Pester/PlatyPs.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ Describe 'Update-MarkdownHelp reflection scenario' {
816816
}
817817

818818
It 'produce a dummy example' {
819-
$v1md.FullName | Should Contain '### Example 1'
819+
$v1md.FullName | Should FileContentMatch '### Example 1'
820820
}
821821

822822
$v1markdown = $v1md | Get-Content -Raw

0 commit comments

Comments
 (0)