From 948a65cf39c8ce31c5adc0f24979e0cb55bc33c3 Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 18 Jun 2022 08:50:45 +0200 Subject: Refactor the command line interface Select operation by its name instead of by number of the arguments. --- tests/002-too_many_arguments.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 tests/002-too_many_arguments.sh (limited to 'tests/002-too_many_arguments.sh') 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 -- cgit v1.2.3