Problem: tests: test_codestyle fails
(after v9.2.0541)
Solution: Replace tabs by spaces
related: #20253
Signed-off-by: Christian Brabandt <cb@256bit.org>
lines =<< trim END
vim9script
class Something
- : endcla
+ : endcla
END
v9.CheckSourceFailure(lines, 'E1065: Command cannot be shortened: endcla', 3)
" 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
lines =<< trim END
vim9script
interface Short
- : endint
+ : endint
END
v9.CheckSourceFailure(lines, 'E1065: Command cannot be shortened: endint', 3)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 542,
/**/
541,
/**/