patch 9.2.0542: tests: test_codestyle fails

Problem:  tests: test_codestyle fails
          (after v9.2.0541)
Solution: Replace tabs by spaces

related: #20253

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2026-05-26 21:12:11 +00:00
parent 207039097a
commit 84e6175b55
3 changed files with 11 additions and 9 deletions
+8 -8
View File
@@ -54,7 +54,7 @@ def Test_class_basic()
lines =<< trim END
vim9script
class Something
: endcla
: endcla
END
v9.CheckSourceFailure(lines, 'E1065: Command cannot be shortened: endcla', 3)
@@ -11880,14 +11880,14 @@ endfunc
" Test for colon and whitespace before class, endclass, static, and abstract
def Test_colon_whitespace()
var lines =<< trim END
: vim9script
: class C
: vim9script
: class C
# TODO: Fix :public - gives E1065
# : public var p = true
: static var s = true
: endclass
: abstract class A
: endclass
# : public var p = true
: static var s = true
: endclass
: abstract class A
: endclass
END
v9.CheckSourceSuccess(lines)
enddef
+1 -1
View File
@@ -90,7 +90,7 @@ def Test_interface_basics()
lines =<< trim END
vim9script
interface Short
: endint
: endint
END
v9.CheckSourceFailure(lines, 'E1065: Command cannot be shortened: endint', 3)
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
542,
/**/
541,
/**/