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.
87652a7e3b
This commit is contained in:
Jan Edmund Lazo
2020-03-29 14:17:52 -04:00
parent 10c5434f9c
commit 53fdd76181

View File

@@ -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')