Skip to content

Commit

Permalink
[macOS] Change Add-AssertionOperator to Add-ShouldOperator (actions#3447
Browse files Browse the repository at this point in the history
)
  • Loading branch information
miketimofeev authored May 24, 2021
1 parent d32753d commit 8dd6faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/macos/helpers/Tests.Helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function ShouldReturnZeroExitCode {
}
}

If (Get-Command -Name Add-AssertionOperator -ErrorAction SilentlyContinue) {
Add-AssertionOperator -Name ReturnZeroExitCode -InternalName ShouldReturnZeroExitCode -Test ${function:ShouldReturnZeroExitCode}
If (Get-Command -Name Add-ShouldOperator -ErrorAction SilentlyContinue) {
Add-ShouldOperator -Name ReturnZeroExitCode -InternalName ShouldReturnZeroExitCode -Test ${function:ShouldReturnZeroExitCode}
}

function Invoke-PesterTests {
Expand Down

0 comments on commit 8dd6faf

Please sign in to comment.