diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/bufhl_spec.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/ui/bufhl_spec.lua b/test/functional/ui/bufhl_spec.lua index ba3e44b677..29173ed7ee 100644 --- a/test/functional/ui/bufhl_spec.lua +++ b/test/functional/ui/bufhl_spec.lua @@ -413,5 +413,16 @@ describe('Buffer highlighting', function() | ]]) + set_virtual_text(0, 0, {{"x\tx\ny\ry", "Statement"}, {"aa\000bb", "Number"}}, {}) + screen:expect([[ + 1 + 2 {3:x^Ix^@y^My}{2:aa} | + ^5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5| + , 5, 5, 5, 5, 5, 5,{1:-} | + x = 4 | + {1:~ }| + {1:~ }| + {1:~ }| + | + ]]) end) end) |