Skip to content

Commit

Permalink
correct one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
georglauterbach committed Apr 20, 2024
1 parent aac3957 commit 208806d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/20-log.bats
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ function setup() { source load log ; }
}

@test "checking wrong supplied log level arguments prints a warning" {
export LOG_LEVEL='trace'
export LOG_LEVEL='warn'
run log 'invalid' "${TEST_STRING}"
assert_success
assert_line --partial "Provided log level ('invalid') unknown"
assert_line --partial "Provided log level 'invalid' unknown"
}

0 comments on commit 208806d

Please sign in to comment.