diff options
Diffstat (limited to 'tests/cli-opts.sh')
-rwxr-xr-x | tests/cli-opts.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index 5edbc17..7c177df 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -71,7 +71,11 @@ test_flags_without_required_argument() { test_valid_options() { OUT="$(mktemp)" ERR="$(mktemp)" - printf 'a\nb\nc\n' | sh remembering -p "always-unique-$(uuidgen)" -c 'head -n1' 1>"$OUT" 2>"$ERR" + printf 'a\nb\nc\n' | \ + sh remembering \ + -p "always-unique-$(uuidgen)" \ + -c 'head -n1' \ + 1>"$OUT" 2>"$ERR" STATUS=$? assert_status 0 if [ "$(cat "$OUT")" != 'a' ]; then |