From e34296bbaa3b80a9c5c1bf6dba3ada28016f03de Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 28 Dec 2024 11:52:13 +0100 Subject: Use options instead of positional arguments for file paths --- tests/005-missing_argument_for_option.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/005-missing_argument_for_option.sh') diff --git a/tests/005-missing_argument_for_option.sh b/tests/005-missing_argument_for_option.sh index aa7a899..b519513 100644 --- a/tests/005-missing_argument_for_option.sh +++ b/tests/005-missing_argument_for_option.sh @@ -4,10 +4,10 @@ source ./assert.sh PROGRAM_EXEC="$1" -assert "Usage" "missing argument for option '-b'" 1 $PROGRAM_EXEC backup -b -assert "Usage" "missing argument for option '-s'" 1 $PROGRAM_EXEC backup -s +assert "Usage" "missing argument for option '-B'" 1 $PROGRAM_EXEC backup -B +assert "Usage" "missing argument for option '-S'" 1 $PROGRAM_EXEC backup -S -assert "Usage" "missing argument for option '-b'" 1 $PROGRAM_EXEC restore -b -assert "Usage" "missing argument for option '-s'" 1 $PROGRAM_EXEC restore -s +assert "Usage" "missing argument for option '-B'" 1 $PROGRAM_EXEC restore -B +assert "Usage" "missing argument for option '-S'" 1 $PROGRAM_EXEC restore -S exit 0 -- cgit v1.2.3