summaryrefslogtreecommitdiffstats
path: root/src/testdir
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2021-07-13 19:09:12 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-13 19:09:12 +0200
commit16e26a31161d65baca7885c46c43ab4a48399c92 (patch)
tree4ba25f750a98948a3ed4ae5082bdf2fb500b61dc /src/testdir
parentee41052ccb65f8109f285fc43eed3e232de68375 (diff)
patch 8.2.3157: crypt test may fail on MS-Windowsv8.2.3157
Problem: Crypt test may fail on MS-Windows. Solution: Ignore "[unix]" in the file message. (Christian Brabandt, closes #8561)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_crypt.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_crypt.vim b/src/testdir/test_crypt.vim
index a18dfa3d17..883c899cfe 100644
--- a/src/testdir/test_crypt.vim
+++ b/src/testdir/test_crypt.vim
@@ -162,8 +162,8 @@ func Test_uncrypt_xchacha20_2()
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