mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 00:10:15 +00:00
tests: Set harness variables local
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user