1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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 '