diff options
Diffstat (limited to 'tests/cli-opts.sh')
-rwxr-xr-x | tests/cli-opts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index 48020e2..733636f 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -182,7 +182,7 @@ test_environment_variables_and_precedence() { assert_status 0 assert_empty_stderr assert_stdout 'a' - assert_stream "\$XDG PROFILE" "$XDG/$PROFILE" '1:a' + assert_stream "\$XDG PROFILE" "$XDG/remembering/$PROFILE" '1:a' N="$LINENO" OUT="$(mktemp)" @@ -215,7 +215,8 @@ test_environment_variables_and_precedence() { assert_status 0 assert_empty_stderr assert_stdout 'c' - assert_stream "\$XDG and \$HOME PROFILE" "$XDG/$PROFILE" '1:c' + assert_stream \ + "\$XDG and \$HOME PROFILE" "$XDG/remembering/$PROFILE" '1:c' if [ -e "$HHOME/.local/share/remembering/$PROFILE" ]; then printf "\nERR: The file in \$HHOME/.local should't exist\n" >&2 |