mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 8.2.3157: crypt test may fail on MS-Windows
Problem: Crypt test may fail on MS-Windows. Solution: Ignore "[unix]" in the file message. (Christian Brabandt, closes #8561)
This commit is contained in:
committed by
Bram Moolenaar
parent
ee41052ccb
commit
16e26a3116
@@ -162,8 +162,8 @@ func Test_uncrypt_xchacha20_2()
|
|||||||
call assert_equal(range(1, 4000)->map( {_, v -> string(v)}), getline(1,'$'))
|
call assert_equal(range(1, 4000)->map( {_, v -> string(v)}), getline(1,'$'))
|
||||||
set key=
|
set key=
|
||||||
w! ++ff=unix
|
w! ++ff=unix
|
||||||
" enryption removed
|
" enryption removed (on MS-Windows the .* matches [unix])
|
||||||
call assert_match('"Xcrypt_sodium.txt" 4000L, 18893B written', execute(':message'))
|
call assert_match('"Xcrypt_sodium.txt".*4000L, 18893B written', execute(':message'))
|
||||||
bw!
|
bw!
|
||||||
call delete('Xcrypt_sodium.txt')
|
call delete('Xcrypt_sodium.txt')
|
||||||
set cryptmethod&vim
|
set cryptmethod&vim
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3157,
|
||||||
/**/
|
/**/
|
||||||
3156,
|
3156,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user