# HG changeset patch # User Bram Moolenaar # Date 1605384003 -3600 # Node ID f304f84b81a6d379ec5c18eca350c535deadd352 # Parent 622f09a8ac9e9828c8fae7c245a94e2bbaf3126a patch 8.2.1986: expression test is flaky on Appveyor Commit: https://github.com/vim/vim/commit/a065a141156c8c4017e21dfc9b99a05cfd0b63d6 Author: Bram Moolenaar Date: Sat Nov 14 20:57:20 2020 +0100 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. diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim --- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1986, +/**/ 1985, /**/ 1984,