diff options
| author | Jan Sucan <jan@jansucan.com> | 2022-06-18 08:50:45 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2022-06-18 08:50:54 +0200 |
| commit | 948a65cf39c8ce31c5adc0f24979e0cb55bc33c3 (patch) | |
| tree | ae923f4594fef0abb777f63291d62530c345b229 /tests/002-too_many_arguments.sh | |
| parent | e1d10bea5d9fc94ba800ade1de430c7f3c0ccacd (diff) | |
Refactor the command line interface
Select operation by its name instead of by number of the arguments.
Diffstat (limited to 'tests/002-too_many_arguments.sh')
| -rw-r--r-- | tests/002-too_many_arguments.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/002-too_many_arguments.sh b/tests/002-too_many_arguments.sh deleted file mode 100644 index b6a1990..0000000 --- a/tests/002-too_many_arguments.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -source ./assert.sh - -PROGRAM_EXEC="$1" - -assert_error "too many arguments" $PROGRAM_EXEC arg1 arg2 arg3 arg4 - -exit 0 |
