'main': Highlight literal semicolons in array assignments as errors.

Fixes the test added in the penultimate (grandparent) commit.
This commit is contained in:
Daniel Shahaf
2020-03-15 14:19:23 +00:00
parent a4525a0826
commit 3ca93f864f
2 changed files with 10 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ BUFFER=$'a=( foo ; bar )'
expected_region_highlight=(
'1 3 assign' # a=(
'5 7 default' # foo
'9 9 unknown-token "fixed in the after-next (grandchild) commit"' # ;
'9 9 unknown-token' # ; (not commandseparator; see highlighter source code)
'11 13 default' # bar
'15 15 assign' # )
)