mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
patch 9.0.1257: code style is not check in test scripts
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
This commit is contained in:
@@ -7,15 +7,15 @@ let s:slnum = str2nr(expand('<slnum>'))
|
||||
let s:sflnum = str2nr(expand('<sflnum>'))
|
||||
|
||||
func s:expand_sfile()
|
||||
return expand('<sfile>')
|
||||
return expand('<sfile>')
|
||||
endfunc
|
||||
|
||||
func s:expand_slnum()
|
||||
return str2nr(expand('<slnum>'))
|
||||
return str2nr(expand('<slnum>'))
|
||||
endfunc
|
||||
|
||||
func s:expand_sflnum()
|
||||
return str2nr(expand('<sflnum>'))
|
||||
return str2nr(expand('<sflnum>'))
|
||||
endfunc
|
||||
|
||||
" This test depends on the location in the test file, put it first.
|
||||
|
||||
Reference in New Issue
Block a user