Patch 8.2.1986
Problem:    Expression test is flaky on Appveyor.
Solution:   Temporarily disable the test in MS-Windows.
Files:      src/testdir/test_vim9_expr.vim


*** ../vim-8.2.1985/src/testdir/test_vim9_expr.vim      2020-11-12 
20:16:35.703302822 +0100
--- src/testdir/test_vim9_expr.vim      2020-11-14 20:55:38.862258526 +0100
***************
*** 567,577 ****
        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'))
    END
    CheckDefAndScriptSuccess(lines)
  
--- 567,580 ----
        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]))
  
!       # 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)
  
*** ../vim-8.2.1985/src/version.c       2020-11-14 20:21:51.361723986 +0100
--- src/version.c       2020-11-14 20:56:30.330169126 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     1986,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
245. You use Real Audio to listen to a radio station from a distant
     city rather than turn on your stereo system.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202011141958.0AEJwRJT690931%40masaka.moolenaar.net.

Raspunde prin e-mail lui