mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
542,
|
||||
/**/
|
||||
541,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user