Commit: patch 9.0.1894: CI: trailing whitespace in tests

4 views
Skip to first unread message

Christian Brabandt

unread,
Sep 10, 2023, 1:30:07 PM9/10/23
to vim...@googlegroups.com
patch 9.0.1894: CI: trailing whitespace in tests

Commit: https://github.com/vim/vim/commit/e5f7cd0a60d0eeab84f7aeb35c13d3af7e50072e
Author: Christian Brabandt <c...@256bit.org>
Date: Sun Sep 10 19:25:26 2023 +0200

patch 9.0.1894: CI: trailing whitespace in tests

Problem: CI: trailing white space in tests
Solution: clean up the trailing white space

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim
index 2ed7eb7f7..2cc57163d 100644
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -315,7 +315,7 @@ func Test_strptime()

call assert_fails('call strptime()', 'E119:')
call assert_fails('call strptime("xxx")', 'E119:')
- " This fails on BSD 14 and returns
+ " This fails on BSD 14 and returns
" -2209078800 instead of 0
call assert_equal(0, strptime("%Y", ''))
call assert_equal(0, strptime("%Y", "xxx"))
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim
index 0d246a242..c793da6b4 100644
--- a/src/testdir/test_vim9_builtin.vim
+++ b/src/testdir/test_vim9_builtin.vim
@@ -4348,7 +4348,7 @@ def Test_strptime()
v9.CheckDefAndScriptFailure(['strptime(10, "2021")'], ['E1013: Argument 1: type mismatch, expected string but got number', 'E1174: String required for argument 1'])
v9.CheckDefAndScriptFailure(['strptime("%Y", 2021)'], ['E1013: Argument 2: type mismatch, expected string but got number', 'E1174: String required for argument 2'])
assert_notequal(0, strptime('%Y', '2021'))
- # This fails on BSD 14 and returns
+ # This fails on BSD 14 and returns
# -2209078800 instead of 0
assert_equal(0, strptime('%Y', ''))
endif
diff --git a/src/version.c b/src/version.c
index ba7ea3970..d37d14721 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =

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