Skip to content

Commit

Permalink
update tests/image.bats (fixes #2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjpadilla committed Apr 21, 2021
1 parent d8ba03f commit c8cb8dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ load test-helper
@test "$clinom image" {
run "${clicmd}" image
assert_success && assert_output -p 'release'
}

@test "$clinom image (too many arguments)" {
run "${clicmd}" image foobar
assert_failure && assert_output -p 'Too many arguments.'
}

0 comments on commit c8cb8dc

Please sign in to comment.