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
20
runtime/syntax/testdir/dumps/dots_01_00.dump
Normal file
20
runtime/syntax/testdir/dumps/dots_01_00.dump
Normal file
@ -0,0 +1,20 @@
|
||||
>.+0&#ffffff0@73|1
|
||||
|.@73|2
|
||||
|.@73|3
|
||||
|.@73|4
|
||||
|.@29|w|i|n|w|i|d|t|h|(|0|)|:| |7|5|.@28|5
|
||||
|.@28|w|i|n|h|e|i|g|h|t|(|0|)|:| |1|9|.@28|6
|
||||
|.@32|r|u|l|e|r|.@35|7
|
||||
|.@73|8
|
||||
|.@73|9
|
||||
|.@72|1|0
|
||||
|.@72|1@1
|
||||
|.@72|1|2
|
||||
|.@72|1|3
|
||||
|.@72|1|4
|
||||
|.@72|1|5
|
||||
|.@72|1|6
|
||||
|.@72|1|7
|
||||
|.@72|1|8
|
||||
|.@72|1|9
|
||||
| @56|1|,|1| @10|T|o|p|
|
||||
Reference in New Issue
Block a user