1
0
Fork 0
mirror of synced 2024-11-12 11:48:58 -05:00
dotbot/test/tests/clean-environment-variable-expansion.bash
2018-08-06 20:53:17 -04:00

16 lines
253 B
Bash

test_description='clean expands environment variables'
. '../test-lib.bash'
test_expect_success 'setup' '
ln -s ${DOTFILES}/f ~/.f
'
test_expect_success 'run' '
run_dotbot <<EOF
- clean: ["\$HOME"]
EOF
'
test_expect_success 'test' '
! test -h ~/.f
'