Patch 8.2.1986

6 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 14, 2020, 2:58:35 PM11/14/20
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages