]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1936: test: using wrong expected message in test_crypt v9.0.1936
authorIsao Sato <svardew@gmail.com>
Sun, 24 Sep 2023 21:27:25 +0000 (23:27 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 24 Sep 2023 21:27:25 +0000 (23:27 +0200)
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>
src/testdir/test_crypt.vim
src/version.c

index e2eaed889da2ff2fed4b2a4561f5773c9ff3536d..1782d83f327b761d7eee907916ebaafa576e1f35 100644 (file)
@@ -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')
index 7517452d3f3a41a6b4cb63128b3a4864f0e31eb4..54ab5539d026e83ac125c56e2ff9f86ec9bb55c2 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1936,
 /**/
     1935,
 /**/