Skip to content

Commit e5f7cd0

Browse files
committed
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 <[email protected]>
1 parent 983d808 commit e5f7cd0

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_functions.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func Test_strptime()
315315

316316
call assert_fails('call strptime()', 'E119:')
317317
call assert_fails('call strptime("xxx")', 'E119:')
318-
" This fails on BSD 14 and returns
318+
" This fails on BSD 14 and returns
319319
" -2209078800 instead of 0
320320
call assert_equal(0, strptime("%Y", ''))
321321
call assert_equal(0, strptime("%Y", "xxx"))

src/testdir/test_vim9_builtin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4348,7 +4348,7 @@ def Test_strptime()
43484348
v9.CheckDefAndScriptFailure(['strptime(10, "2021")'], ['E1013: Argument 1: type mismatch, expected string but got number', 'E1174: String required for argument 1'])
43494349
v9.CheckDefAndScriptFailure(['strptime("%Y", 2021)'], ['E1013: Argument 2: type mismatch, expected string but got number', 'E1174: String required for argument 2'])
43504350
assert_notequal(0, strptime('%Y', '2021'))
4351-
# This fails on BSD 14 and returns
4351+
# This fails on BSD 14 and returns
43524352
# -2209078800 instead of 0
43534353
assert_equal(0, strptime('%Y', ''))
43544354
endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,8 @@ static char *(features[]) =
699699

700700
static int included_patches[] =
701701
{ /* Add new patch number below this line */
702+
/**/
703+
1894,
702704
/**/
703705
1893,
704706
/**/

0 commit comments

Comments
 (0)