Moved testing for files to bats-file library functions

This commit is contained in:
Nils Winkler
2017-10-05 07:31:54 +02:00
parent efc09fe454
commit e574de8f47
5 changed files with 15 additions and 14 deletions

View File

@@ -52,5 +52,5 @@ load ../../plugins/available/base.plugin
declare -r file="${BASH_IT_ROOT}/file"
touch $file
run buf $file
assert [ -e ${file}_$(date +%Y%m%d_%H%M%S) ]
assert_file_exist ${file}_$(date +%Y%m%d_%H%M%S)
}