test: add test separator
This commit is contained in:
@@ -78,14 +78,18 @@ function check_files_same_in_folders() {
|
||||
# test result
|
||||
########################################
|
||||
function test_result() {
|
||||
local SEP="================================================================================"
|
||||
|
||||
if [[ "$2" == "0" ]]; then
|
||||
color green "Test case \"$1\" passed"
|
||||
color none "${SEP}"
|
||||
return
|
||||
fi
|
||||
|
||||
((ERROR_NUM++))
|
||||
|
||||
color red "Test case \"$1\" failed"
|
||||
color none "${SEP}"
|
||||
}
|
||||
|
||||
. tests/units/env-priority/test.sh
|
||||
|
||||
Reference in New Issue
Block a user