1
0
Fork 0
mirror of synced 2024-11-25 01:25:35 -05:00
dotbot/test/tests/config-json.bash

21 lines
275 B
Bash
Raw Normal View History

test_description='json config allowed'
. '../test-lib.bash'
test_expect_success 'setup' '
echo "grape" > ${DOTFILES}/h
'
test_expect_success 'run' '
run_dotbot_json <<EOF
[{
"link": {
"~/.i": "h"
}
}]
EOF
'
test_expect_success 'test' '
grep "grape" ~/.i
'