aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/timer_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-09 19:03:07 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-12-09 22:14:50 +0800
commit5e43630a260e49ed494539d41cb832b1ee6d03c8 (patch)
treee5ede505d0bbb0300509132002601feaefeb6260 /test/functional/vimscript/timer_spec.lua
parent8be24fed8ffac51aa4808786ab010e8b87070324 (diff)
downloadrneovim-5e43630a260e49ed494539d41cb832b1ee6d03c8.tar.gz
rneovim-5e43630a260e49ed494539d41cb832b1ee6d03c8.tar.bz2
rneovim-5e43630a260e49ed494539d41cb832b1ee6d03c8.zip
test: allow avoiding repeated screen lines in expected states
Allow a "*count" suffix in a screen line to repeat the screen line for "count" times. The change is made to Screen:expect() and Screen:get_snapshot() instead of Screen:render() so that screen expectations generated using code can still work and test failures can still be readable. A snapshot is now also printed on failure so that there is no need to run the test again with Screen:snapshot_util().
Diffstat (limited to 'test/functional/vimscript/timer_spec.lua')
0 files changed, 0 insertions, 0 deletions