aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_functions.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-11 11:46:40 +0800
committerGitHub <noreply@github.com>2023-09-11 11:46:40 +0800
commitc8c73b26f3d09847a2e355160068e55b70dce6e4 (patch)
tree25d24e60bcd829be0737c68179c9c33d4475fad0 /test/old/testdir/test_functions.vim
parent2b475cb5cc2196a32085fbbdfd7357cbb02a1cb0 (diff)
parente8d25675a294415ae66fd37fc5ab5a6ab78d7fb6 (diff)
downloadrneovim-c8c73b26f3d09847a2e355160068e55b70dce6e4.tar.gz
rneovim-c8c73b26f3d09847a2e355160068e55b70dce6e4.tar.bz2
rneovim-c8c73b26f3d09847a2e355160068e55b70dce6e4.zip
Merge pull request #25093 from zeertzjq/vim-9.0.1893
vim-patch:9.0.{1893,1894}
Diffstat (limited to 'test/old/testdir/test_functions.vim')
-rw-r--r--test/old/testdir/test_functions.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim
index a811e01301..3e1e5a4816 100644
--- a/test/old/testdir/test_functions.vim
+++ b/test/old/testdir/test_functions.vim
@@ -290,6 +290,7 @@ endfunc
func Test_strptime()
CheckFunction strptime
+ CheckNotBSD
CheckNotMSWindows
if exists('$TZ')
@@ -305,6 +306,8 @@ func Test_strptime()
call assert_fails('call strptime()', 'E119:')
call assert_fails('call strptime("xxx")', 'E119:')
+ " This fails on BSD 14 and returns
+ " -2209078800 instead of 0
call assert_equal(0, strptime("%Y", ''))
call assert_equal(0, strptime("%Y", "xxx"))