1
0
Fork 0
mirror of synced 2024-11-16 21:45:35 -05:00

Add test for environment variable expansion

This commit is contained in:
Anish Athalye 2018-08-06 20:48:56 -04:00
parent cf55ca5188
commit 9332cde5ad

View file

@ -0,0 +1,16 @@
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
'