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

@@ -30,18 +30,13 @@
BUFFER=$': \'foo\'bar"baz$quux/foo\\\\bar"baz$\'quux\\nfoo\\001bar\'baz'
expected_region_highlight=(
"1 1 builtin" # :
"3 54 default" # 'foo'bar"baz$quux/foo\\bar"baz$'quux\nfoo\001'baz
"3 7 single-quoted-argument" # 'foo'
"8 10 default" # bar
"11 14 double-quoted-argument" #"baz
"11 29 double-quoted-argument" #"baz
"15 19 dollar-double-quoted-argument" # $quux
"20 23 double-quoted-argument" # /foo
"24 25 back-double-quoted-argument" # \\
"26 29 double-quoted-argument" # bar"
"30 32 default" # baz
"33 38 dollar-quoted-argument" # $'quux
"33 51 dollar-quoted-argument" # $'quux\nfoo\001bar'
"39 40 back-dollar-quoted-argument" # \n
"41 43 dollar-quoted-argument" # foo
"44 47 back-dollar-quoted-argument" # \001
"48 51 dollar-quoted-argument" # bar'
"52 54 default" # baz
)