Skip to content

Commit

Permalink
fixup! test/assert_regex.bats: Test the error case
Browse files Browse the repository at this point in the history
  • Loading branch information
rico-chet committed May 26, 2022
1 parent b24bf43 commit b777b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/assert_regex.bats
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ERR_MSG

# Error handling
@test "assert_regex() <value> <pattern>: returns 1 and displays an error message if <pattern> is not a valid extended regular expression" {
run assert_regex '[.*'
run assert_regex value '[.*'

assert_test_fail <<'ERR_MSG'
Expand Down

0 comments on commit b777b66

Please sign in to comment.