Moved testing for files to bats-file library functions
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user