tests: Run only *.zsh files.
Otherwise, *.rej patch files would be run by zsh, with unpredictable results.
This commit is contained in:
parent
0d3a5dadea
commit
05ab9f7342
@ -58,7 +58,7 @@ integer something_failed=0
|
|||||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)
|
||||||
|
|
||||||
# Process each test data file in test data directory.
|
# Process each test data file in test data directory.
|
||||||
for data_file in ${0:h:h}/highlighters/$1/test-data/*; do
|
for data_file in ${0:h:h}/highlighters/$1/test-data/*.zsh; do
|
||||||
|
|
||||||
# Load the data and prepare checking it.
|
# Load the data and prepare checking it.
|
||||||
PREBUFFER= BUFFER= ; expected_region_highlight=(); errors=()
|
PREBUFFER= BUFFER= ; expected_region_highlight=(); errors=()
|
||||||
|
Loading…
Reference in New Issue
Block a user