From c8cb8dc4fcf7f8936ad234816b19b6bf46cb3e96 Mon Sep 17 00:00:00 2001 From: rjpadilla Date: Wed, 21 Apr 2021 04:24:03 +0300 Subject: [PATCH] update tests/image.bats (fixes #2215) --- tests/image.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/image.bats b/tests/image.bats index 5b558b54f9..7becba46e9 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