1
0
Fork 0
mirror of synced 2024-12-02 04:25:34 -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
'