0
0
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:
Bram Moolenaar
2023-01-28 19:19:03 +00:00
parent 04e4f1d985
commit 94722c5107
56 changed files with 247 additions and 208 deletions

View File

@@ -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