1
0
Fork 0
mirror of synced 2024-12-21 13:41:07 -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
'