diff --git a/tests/image.bats b/tests/image.bats index 5b558b54f..7becba46e 100755 --- a/tests/image.bats +++ b/tests/image.bats @@ -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.' } \ No newline at end of file