0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.1986: expression test is flaky on Appveyor

Problem:    Expression test is flaky on Appveyor.
Solution:   Temporarily disable the test in MS-Windows.
This commit is contained in:
Bram Moolenaar
2020-11-14 20:57:20 +01:00
parent 02764713a7
commit a065a14115
2 changed files with 10 additions and 5 deletions

View File

@@ -567,11 +567,14 @@ def Test_expr4_equal()
assert_equal(false, function('g:Test_expr4_equal', [123]) == function('g:Test_expr4_is', [123]))
assert_equal(false, function('g:Test_expr4_equal', [123]) == function('g:Test_expr4_equal', [999]))
var OneFunc: func
var TwoFunc: func
OneFunc = function('len')
TwoFunc = function('len')
assert_equal(true, OneFunc('abc') == TwoFunc('123'))
# TODO: this unexpectedly sometimes fails on Appveyor
if !has('win32')
var OneFunc: func
var TwoFunc: func
OneFunc = function('len')
TwoFunc = function('len')
assert_equal(true, OneFunc('abc') == TwoFunc('123'))
endif
END
CheckDefAndScriptSuccess(lines)

View File

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