Skip to content

Commit 8e78e9d

Browse files
committed
'main': Fix issue #623 by fixing the expectations of the regression test of issue #616.
1 parent 2bd709f commit 8e78e9d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

highlighters/main/test-data/empty-command-newline.zsh

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
# vim: ft=zsh sw=2 ts=2 et
2929
# -------------------------------------------------------------------------------------------------
3030

31-
BUFFER=$':;\n'
31+
# Newline after semicolon isn't unknown-token
32+
BUFFER=$':;\n:'
3233

3334
expected_region_highlight=(
3435
'1 1 builtin' # :
3536
'2 2 commandseparator' # ;
36-
'3 3 issue-623 "issue #616"' # \n
37+
'3 3 commandseparator "issue #616"' # \n
38+
'4 4 builtin' # :
3739
)

0 commit comments

Comments
 (0)