changeset 33345:bf37770e5952 v9.0.1936

patch 9.0.1936: test: using wrong expected message in test_crypt Commit: https://github.com/vim/vim/commit/e6fca0e82216c753793a85979926b9a28da7e842 Author: Isao Sato <svardew@gmail.com> Date: Sun Sep 24 23:27:25 2023 +0200 patch 9.0.1936: test: using wrong expected message in test_crypt Problem: test: using wrong expected message in test_crypt Solution: make use of single quotes closes: #13151 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Isao Sato <svardew@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Sep 2023 23:30:08 +0200
parents 01a23eacecbd
children 595100ac23af
files src/testdir/test_crypt.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_crypt.vim
+++ b/src/testdir/test_crypt.vim
@@ -255,7 +255,7 @@ func Test_uncrypt_xchacha20_2()
   call assert_match("Note: Encryption of swapfile not supported, disabling swap file", execute(':messages'))
   w!
   " encrypted using xchacha20
-  call assert_match("\[xchacha20\]", execute(':messages'))
+  call assert_match('\[xchacha20\]', execute(':messages'))
   bw!
   call feedkeys(":sp Xcrypt_sodium.txt\<CR>sodium\<CR>", 'xt')
   " successfully decrypted
@@ -288,7 +288,7 @@ func Test_uncrypt_xchacha20v2_2()
     throw 'Skipped: sodium_mlock() not possible'
   endtry
   " encrypted using xchacha20
-  call assert_match("\[xchachav2\]", execute(':messages'))
+  call assert_match('\[xchacha20v2\]', execute(':messages'))
   bw!
 	try
 		call feedkeys(":verbose :sp Xcrypt_sodium_v2.txt\<CR>sodium\<CR>", 'xt')
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1936,
+/**/
     1935,
 /**/
     1934,