1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2019-06-18 23:07:37 +02:00
parent db51730df1
commit 87652a7e3b
2 changed files with 6 additions and 1 deletions

View File

@@ -202,7 +202,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)
" 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')

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1568,
/**/
1567,
/**/