Commit: patch 9.2.0542: tests: test_codestyle fails

1 view
Skip to first unread message

Christian Brabandt

unread,
May 27, 2026, 11:15:15 AMMay 27
to vim...@googlegroups.com
patch 9.2.0542: tests: test_codestyle fails

Commit: https://github.com/vim/vim/commit/84e6175b552e6ed7ac28c536c101147745fc74e0
Author: Christian Brabandt <c...@256bit.org>
Date: Tue May 26 21:12:11 2026 +0000

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 <c...@256bit.org>

diff --git a/src/testdir/test_vim9_class.vim b/src/testdir/test_vim9_class.vim
index e49e5a8dc..9f060a9f4 100644
--- a/src/testdir/test_vim9_class.vim
+++ b/src/testdir/test_vim9_class.vim
@@ -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
diff --git a/src/testdir/test_vim9_interface.vim b/src/testdir/test_vim9_interface.vim
index 6377eb38e..0c99e0bc7 100644
--- a/src/testdir/test_vim9_interface.vim
+++ b/src/testdir/test_vim9_interface.vim
@@ -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)

diff --git a/src/version.c b/src/version.c
index 6b9c13f39..55f8b8a7e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 542,
/**/
541,
/**/
Reply all
Reply to author
Forward
0 new messages