mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -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:
@@ -48,7 +48,7 @@ def Test_class_basic()
|
||||
lines =<< trim END
|
||||
vim9script
|
||||
class Something
|
||||
endclass school's out
|
||||
endclass school's out
|
||||
END
|
||||
v9.CheckScriptFailure(lines, 'E488:')
|
||||
|
||||
@@ -623,7 +623,7 @@ def Test_class_member()
|
||||
TextPos.AddToCounter(3)
|
||||
assert_equal(3, TextPos.counter)
|
||||
assert_fails('echo TextPos.noSuchMember', 'E1338:')
|
||||
|
||||
|
||||
def GetCounter(): number
|
||||
return TextPos.counter
|
||||
enddef
|
||||
|
Reference in New Issue
Block a user