Skip to content

Commit d9a7963

Browse files
committed
driver: Follow-up to grandparent: Have all test suite entry points declare the mock $region_highlight.
tests/generate.zsh already does this.
1 parent 810c2dc commit d9a7963

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test-perfs.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
}
4949

5050
# Load the main script.
51+
typeset -a region_highlight
5152
. ${0:h:h}/zsh-syntax-highlighting.zsh
5253

5354
# Activate the highlighter.

tests/test-zprof.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# -------------------------------------------------------------------------------------------------
3030

3131
# Load the main script.
32+
typeset -a region_highlight
3233
. ${0:h:h}/zsh-syntax-highlighting.zsh
3334

3435
# Activate the highlighter.

0 commit comments

Comments
 (0)