Patch 8.2.3157

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 13, 2021, 1:10:19 PM7/13/21
to vim...@googlegroups.com

Patch 8.2.3157
Problem: Crypt test may fail on MS-Windows.
Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
closes #8561)
Files: src/testdir/test_crypt.vim


*** ../vim-8.2.3156/src/testdir/test_crypt.vim 2021-07-08 11:37:46.413639907 +0200
--- src/testdir/test_crypt.vim 2021-07-13 19:06:38.517652399 +0200
***************
*** 162,169 ****
call assert_equal(range(1, 4000)->map( {_, v -> string(v)}), getline(1,'$'))
set key=
w! ++ff=unix
! " enryption removed
! call assert_match('"Xcrypt_sodium.txt" 4000L, 18893B written', execute(':message'))
bw!
call delete('Xcrypt_sodium.txt')
set cryptmethod&vim
--- 162,169 ----
call assert_equal(range(1, 4000)->map( {_, v -> string(v)}), getline(1,'$'))
set key=
w! ++ff=unix
! " enryption removed (on MS-Windows the .* matches [unix])
! call assert_match('"Xcrypt_sodium.txt".*4000L, 18893B written', execute(':message'))
bw!
call delete('Xcrypt_sodium.txt')
set cryptmethod&vim
*** ../vim-8.2.3156/src/version.c 2021-07-12 22:15:20.950777281 +0200
--- src/version.c 2021-07-13 19:07:54.049564050 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3157,
/**/

--
Don't drink and drive. You might hit a bump and spill your beer.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages