Patch 9.0.0839
Problem: Test may fail depending on sequence of events.
Solution: Accept error codes in either order. (Yee Cheng Chin,
closes #11510)
Files: src/testdir/test_vim9_script.vim
*** ../vim-9.0.0838/src/testdir/test_vim9_script.vim 2022-11-02 13:30:37.546314580 +0000
--- src/testdir/test_vim9_script.vim 2022-11-06 12:23:14.850688836 +0000
***************
*** 4087,4093 ****
endfor
END
writefile(lines, 'Xdef', 'D')
! assert_fails('so Xdef', ['E684:', 'E1012:'])
enddef
def InvokeNormal()
--- 4087,4094 ----
endfor
END
writefile(lines, 'Xdef', 'D')
! # Either the exit or out callback is called first, accept them in any order
! assert_fails('so Xdef', ['E684:\|E1012:', 'E1012:\|E684:'])
enddef
def InvokeNormal()
*** ../vim-9.0.0838/src/version.c 2022-11-06 11:27:35.894580888 +0000
--- src/version.c 2022-11-06 12:24:27.026746735 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 839,
/**/
--
How To Keep A Healthy Level Of Insanity:
6. In the memo field of all your checks, write "for sexual favors".
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///