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:
@@ -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_is', [123]))
|
||||||
assert_equal(false, function('g:Test_expr4_equal', [123]) == function('g:Test_expr4_equal', [999]))
|
assert_equal(false, function('g:Test_expr4_equal', [123]) == function('g:Test_expr4_equal', [999]))
|
||||||
|
|
||||||
var OneFunc: func
|
# TODO: this unexpectedly sometimes fails on Appveyor
|
||||||
var TwoFunc: func
|
if !has('win32')
|
||||||
OneFunc = function('len')
|
var OneFunc: func
|
||||||
TwoFunc = function('len')
|
var TwoFunc: func
|
||||||
assert_equal(true, OneFunc('abc') == TwoFunc('123'))
|
OneFunc = function('len')
|
||||||
|
TwoFunc = function('len')
|
||||||
|
assert_equal(true, OneFunc('abc') == TwoFunc('123'))
|
||||||
|
endif
|
||||||
END
|
END
|
||||||
CheckDefAndScriptSuccess(lines)
|
CheckDefAndScriptSuccess(lines)
|
||||||
|
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1986,
|
||||||
/**/
|
/**/
|
||||||
1985,
|
1985,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user