From 8e78e9dbba673d2a6933b5e98045eabd04f554f5 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 21 Jul 2019 01:44:19 +0000 Subject: [PATCH] 'main': Fix issue #623 by fixing the expectations of the regression test of issue #616. --- highlighters/main/test-data/empty-command-newline.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/highlighters/main/test-data/empty-command-newline.zsh b/highlighters/main/test-data/empty-command-newline.zsh index 397cef8..783f4b6 100644 --- a/highlighters/main/test-data/empty-command-newline.zsh +++ b/highlighters/main/test-data/empty-command-newline.zsh @@ -28,10 +28,12 @@ # vim: ft=zsh sw=2 ts=2 et # ------------------------------------------------------------------------------------------------- -BUFFER=$':;\n' +# Newline after semicolon isn't unknown-token +BUFFER=$':;\n:' expected_region_highlight=( '1 1 builtin' # : '2 2 commandseparator' # ; - '3 3 issue-623 "issue #616"' # \n + '3 3 commandseparator "issue #616"' # \n + '4 4 builtin' # : )