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)
diff --git a/src/testdir/test_crypt.vim b/src/testdir/test_crypt.vim
index a18dfa3..883c899 100644
--- a/src/testdir/test_crypt.vim
+++ b/src/testdir/test_crypt.vim
@@ -162,8 +162,8 @@
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'))
+ " 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
diff --git a/src/version.c b/src/version.c
index c2314cd..ace5a9d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3157,
+/**/
3156,
/**/
3155,