diff --git a/tests/image.bats b/tests/image.bats index 5b558b54f..7fb66d671 100755 --- a/tests/image.bats +++ b/tests/image.bats @@ -3,5 +3,10 @@ load test-helper @test "$clinom image" { run "${clicmd}" image - assert_success && assert_output -p 'release' + assert_success && assert_output -p 'release-' +} + +@test "$clinom image (too many arguments)" { + run "${clicmd}" image foobar + assert_failure && assert_output -p 'Too many arguments.' } \ No newline at end of file