diff options
| author | Jan Sucan <jan@jansucan.com> | 2024-12-28 11:52:13 +0100 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2024-12-31 08:26:48 +0100 |
| commit | e34296bbaa3b80a9c5c1bf6dba3ada28016f03de (patch) | |
| tree | 88c4302c93ee9c0ef8946a0fc305774c4d7d22be /tests/002-missing_arguments.sh | |
| parent | 9280ff2c747a5a59f0a6e0cc6335b24de62cacc9 (diff) | |
Use options instead of positional arguments for file paths
Diffstat (limited to 'tests/002-missing_arguments.sh')
| -rw-r--r-- | tests/002-missing_arguments.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/002-missing_arguments.sh b/tests/002-missing_arguments.sh index a8cb13c..c3aaa1b 100644 --- a/tests/002-missing_arguments.sh +++ b/tests/002-missing_arguments.sh @@ -4,7 +4,7 @@ source ./assert.sh PROGRAM_EXEC="$1" -assert "Usage" "missing arguments" 1 $PROGRAM_EXEC backup -assert "Usage" "missing arguments" 1 $PROGRAM_EXEC restore +assert "Usage" "missing input file" 1 $PROGRAM_EXEC backup +assert "Usage" "missing diff file" 1 $PROGRAM_EXEC restore exit 0 |
