mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-10-05 19:16:22 +00:00
tests: Run only *.zsh files.
Otherwise, *.rej patch files would be run by zsh, with unpredictable results.
This commit is contained in:
1 parent
0d3a5dadea
commit
05ab9f7342
1 file changed
+1
-1
@@ -58,7 +58,7 @@ integer something_failed=0
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)
|
||||
|
||||
# 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.
|
||||
PREBUFFER= BUFFER= ; expected_region_highlight=(); errors=()
|
||||
|
||||
Reference in new issue
Block a user