Skip to content

Commit

Permalink
Fix docs for FileContentMatchMultiline* operators (#2377)
Browse files Browse the repository at this point in the history
  • Loading branch information
fflaten authored Apr 12, 2024
1 parent 460d6db commit 0206448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/functions/assertions/FileContentMatchMultiline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ function NotShouldFileContentMatchMultilineFailureMessage($ActualValue, $Expecte
-Test ${function:Should-FileContentMatchMultiline}

Set-ShouldOperatorHelpMessage -OperatorName FileContentMatchMultiline `
-HelpMessage 'As opposed to FileContentMatch and FileContentMatchExactly operators, FileContentMatchMultiline presents content of the file being tested as one string object, so that the expression you are comparing it to can consist of several lines.'
-HelpMessage "As opposed to FileContentMatch and FileContentMatchExactly operators, FileContentMatchMultiline presents content of the file being tested as one string object, so that the expression you are comparing it to can consist of several lines.`n`nWhen using FileContentMatchMultiline operator, '^' and '$' represent the beginning and end of the whole file, instead of the beginning and end of a line"
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ function NotShouldFileContentMatchMultilineExactlyFailureMessage($ActualValue, $
-Test ${function:Should-FileContentMatchMultilineExactly}

Set-ShouldOperatorHelpMessage -OperatorName FileContentMatchMultilineExactly `
-HelpMessage 'As opposed to FileContentMatch and FileContentMatchExactly operators, FileContentMatchMultilineExactly presents content of the file being tested as one string object, so that the case sensitive expression you are comparing it to can consist of several lines.'
-HelpMessage "As opposed to FileContentMatch and FileContentMatchExactly operators, FileContentMatchMultilineExactly presents content of the file being tested as one string object, so that the case sensitive expression you are comparing it to can consist of several lines.`n`nWhen using FileContentMatchMultilineExactly operator, '^' and '$' represent the beginning and end of the whole file, instead of the beginning and end of a line."

0 comments on commit 0206448

Please sign in to comment.