We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a043b4 commit 3414c7cCopy full SHA for 3414c7c
tests/test-highlighting.zsh
@@ -117,12 +117,15 @@ run_test_internal() {
117
local srcdir="$PWD"
118
builtin cd -q -- "$tests_tempdir" || { echo >&2 "Bail out! On ${(qq)1}: cd failed: $?"; return 1 }
119
120
- echo "# ${1:t:r}"
121
-
122
# Load the data and prepare checking it.
123
local BUFFER CURSOR MARK PENDING PREBUFFER REGION_ACTIVE WIDGET REPLY skip_test unsorted=0
124
local expected_mismatch
125
local -a expected_region_highlight region_highlight
+
+ echo "# ${1:t:r}"
126
+ [[ -n $PREBUFFER ]] && printf '# %s\n' "$(typeset_p PREBUFFER)"
127
+ [[ -n $BUFFER ]] && printf '# %s\n' "$(typeset_p BUFFER)"
128
129
. "$srcdir"/"$1"
130
131
(( $#skip_test )) && { print -r -- "1..0 # SKIP $skip_test"; return; }
0 commit comments