From 53fdd76181d2d1834aa38f4b47aa36f844d1e43f Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 29 Mar 2020 14:17:52 -0400 Subject: vim-patch:8.1.1568: strftime() test fails on MS-Windows Problem: Strftime() test fails on MS-Windows. Solution: Skip the check for using the $TZ environment variable. https://github.com/vim/vim/commit/87652a7e3b94755084944afec51a0bfcd8b0a0c3 --- src/nvim/testdir/test_functions.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index da5edbaea1..b75b095841 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -201,7 +201,10 @@ func Test_strftime() " are, a tzset(3) call may have failed somewhere call assert_equal(strlen(est), 2) call assert_equal(strlen(utc), 2) - call assert_notequal(est, utc) + " TODO: this fails on MS-Windows + if has('unix') + call assert_notequal(est, utc) + endif " If we cached a timezone value, put it back, otherwise clear it if exists('tz') -- cgit