tests: Directly diff expected_region_highlight against region_highlight

This commit is contained in:
Matthew Martin
2018-02-06 19:14:26 -06:00
parent 622358f32d
commit a9be0975c8
78 changed files with 219 additions and 121 deletions

View File

@@ -31,9 +31,12 @@ BUFFER=': "$" "$42foo"'
BUFFER+=\ \"\\\'\\x\"
expected_region_highlight=(
"1 1 builtin" # :
"3 5 default" # "$"
"3 5 double-quoted-argument" # "$"
"7 7 double-quoted-argument" # "
"7 14 default" # "$42foo"
"7 14 double-quoted-argument" # "$42foo"
"8 10 dollar-double-quoted-argument" # $42
"11 14 double-quoted-argument" # foo"
"16 21 default" # "\'\x"
"16 21 double-quoted-argument" # "\'\x" - \' and \x are not escape sequences
)