Spec out create
directive test.
This commit is contained in:
parent
cdef01e9c4
commit
537d74ba5c
1 changed files with 15 additions and 0 deletions
15
test/tests/create-relative.bash
Normal file
15
test/tests/create-relative.bash
Normal file
|
@ -0,0 +1,15 @@
|
|||
test_description='relative creating works'
|
||||
. '../test-lib.bash'
|
||||
|
||||
test_expect_success 'run' '
|
||||
run_dotbot <<EOF
|
||||
- create:
|
||||
- ~/somedir
|
||||
- ~/nested/somedir
|
||||
EOF
|
||||
'
|
||||
|
||||
test_expect_success 'test' '
|
||||
[ -d ~/somedir ] &&
|
||||
[ -d ~/nested/somedir ]
|
||||
'
|
Loading…
Reference in a new issue