21 lines
273 B
Bash
21 lines
273 B
Bash
|
test_description='json config with tabs 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
|
||
|
'
|