runtime(syntax-tests): Introduce self tests for screen dumping
Write a batch of test files with made-up syntax to serve for additional linewise checks to be manually performed whenever the algorithm for screen dump file generation is modified. Define a shell variable VIM_SYNTAX_SELF_TESTING to run these tests: cd runtime/syntax/ VIM_SYNTAX_SELF_TESTING=1 make clean test related: #15150 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
cc5482edb4
commit
d2f4987999
4
runtime/syntax/testdir/input/selftestdir/dots_18
Normal file
4
runtime/syntax/testdir/input/selftestdir/dots_18
Normal file
@ -0,0 +1,4 @@
|
||||
1..........................................................................2..........................................................................3..........................................................................4..........................................................................5..........................................................................6..........................................................................7..........................................................................8..........................................................................9..........................................................................10.........................................................................11.........................................................................12.........................................................................13.........................................................................14.........................................................................15.........................................................................16.........................................................................17.........................................................................18
|
||||
19...........................winwidth(0): 75...............................20.........................................................................21.........................................................................22.........................................................................23.........................................................................24.........................................................................25.........................................................................26.........................................................................27.........................................................................28.........................................................................29.........................................................................30.........................................................................31.........................................................................32.........................................................................33.........................................................................34.........................................................................35.........................................................................36
|
||||
37..........................winheight(0): 19...............................38.........................................................................39.........................................................................40.........................................................................41.........................................................................42.........................................................................43.........................................................................44.........................................................................45.........................................................................46.........................................................................47.........................................................................48.........................................................................49.........................................................................50.........................................................................51.........................................................................52.........................................................................53.........................................................................54
|
||||
55...............................ruler.....................................56.........................................................................57.........................................................................58.........................................................................59.........................................................................60.........................................................................61.........................................................................62.........................................................................63.........................................................................64.........................................................................65.........................................................................66.........................................................................67.........................................................................68.........................................................................69.........................................................................70.........................................................................71.........................................................................72
|
||||
Reference in New Issue
Block a user