Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Frode Flaten <[email protected]>
  • Loading branch information
nohwnd and fflaten authored May 20, 2024
1 parent 03e28d0 commit f1a3810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions/assert/String/Should-BeLikeString.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ function Assert-Like {
.EXAMPLE
```powershell
"hello" | Should-BeLikeString"h*"
"hello" | Should-BeLikeString "h*"
```
This assertion will pass, because the actual value is like the expected value.
.EXAMPLE
```powershell
"hello" | Should-BeLikeString"H*" -CaseSensitive
"hello" | Should-BeLikeString "H*" -CaseSensitive
```
This assertion will fail, because the actual value is not like the expected value.
Expand Down

0 comments on commit f1a3810

Please sign in to comment.