patch 9.2.0542: tests: test_codestyle fails
Commit:
https://github.com/vim/vim/commit/84e6175b552e6ed7ac28c536c101147745fc74e0
Author: Christian Brabandt <[email protected]>
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 <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wSFyL-009MWm-W2%40256bit.org.