Mercurial > vim
changeset 33242:6fbeeebdc7f3 v9.0.1894
patch 9.0.1894: CI: trailing whitespace in tests
Commit: https://github.com/vim/vim/commit/e5f7cd0a60d0eeab84f7aeb35c13d3af7e50072e
Author: Christian Brabandt <cb@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 <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 10 Sep 2023 19:30:02 +0200 |
parents | 990a4abeec0f |
children | 2ca217c43fd8 |
files | src/testdir/test_functions.vim src/testdir/test_vim9_builtin.vim src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"))
--- 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