fix(test): fix broken tests

This commit is contained in:
Nathaniel Landau
2023-08-29 10:16:28 -04:00
parent 1370c531d2
commit fea8ce4e5c
14 changed files with 79 additions and 75 deletions

View File

@@ -63,7 +63,7 @@ repos:
language: system
files: '^test/.*\.bats$'
types_or: [shell, bash, sh, zsh]
entry: bash -c 'find test/ -maxdepth 1 -name "*.bats" -exec bats -t {} \;'
entry: bash -c 'find test/ -maxdepth 1 -name "*.bats" -print0 | xargs -0 -n1 bats -t'
pass_filenames: false
- id: shellcheck