mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
patch 8.2.0610: some tests are still old style
Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
This commit is contained in:
@@ -151,6 +151,10 @@ func Test_syntax_list()
|
||||
let a = execute('syntax list')
|
||||
call assert_equal("\nNo Syntax items defined for this buffer", a)
|
||||
|
||||
syntax keyword Type int containedin=g1 skipwhite skipempty skipnl nextgroup=Abc
|
||||
let exp = "Type xxx containedin=g1 nextgroup=Abc skipnl skipwhite skipempty int"
|
||||
call assert_equal(exp, split(execute("syntax list"), "\n")[1])
|
||||
|
||||
bd
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user