Improve test helper
This commit is contained in:
parent
830feaae69
commit
39a53e42c8
1 changed files with 1 additions and 6 deletions
|
@ -1,10 +1,5 @@
|
|||
check_dir_exists_helper() {
|
||||
local dir_path=$1
|
||||
if [ -d "$dir_path" ]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
[ -d "$1" ]
|
||||
}
|
||||
|
||||
# runs the scripts and asserts it has the correct output and exit code
|
||||
|
|
Loading…
Reference in a new issue