mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Set harness variables local
This commit is contained in:
parent
9a06c28ddc
commit
dddea5d5dd
2 changed files with 3 additions and 1 deletions
|
|
@ -92,6 +92,7 @@ run_test() {
|
|||
}
|
||||
|
||||
# Process each test data file in test data directory.
|
||||
local data_file
|
||||
for data_file in ${0:h:h}/highlighters/$1/test-data/*.zsh; do
|
||||
run_test "$data_file"
|
||||
(( $pipestatus[1] )) && exit 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue