0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

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>
This commit is contained in:
Isao Sato
2023-09-24 23:27:25 +02:00
committed by Christian Brabandt
parent 7fe8f43f49
commit e6fca0e822
2 changed files with 4 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ func Test_uncrypt_xchacha20_2()
call assert_match("Note: Encryption of swapfile not supported, disabling swap file", execute(':messages')) call assert_match("Note: Encryption of swapfile not supported, disabling swap file", execute(':messages'))
w! w!
" encrypted using xchacha20 " encrypted using xchacha20
call assert_match("\[xchacha20\]", execute(':messages')) call assert_match('\[xchacha20\]', execute(':messages'))
bw! bw!
call feedkeys(":sp Xcrypt_sodium.txt\<CR>sodium\<CR>", 'xt') call feedkeys(":sp Xcrypt_sodium.txt\<CR>sodium\<CR>", 'xt')
" successfully decrypted " successfully decrypted
@@ -288,7 +288,7 @@ func Test_uncrypt_xchacha20v2_2()
throw 'Skipped: sodium_mlock() not possible' throw 'Skipped: sodium_mlock() not possible'
endtry endtry
" encrypted using xchacha20 " encrypted using xchacha20
call assert_match("\[xchachav2\]", execute(':messages')) call assert_match('\[xchacha20v2\]', execute(':messages'))
bw! bw!
try try
call feedkeys(":verbose :sp Xcrypt_sodium_v2.txt\<CR>sodium\<CR>", 'xt') call feedkeys(":verbose :sp Xcrypt_sodium_v2.txt\<CR>sodium\<CR>", 'xt')

View File

@@ -699,6 +699,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 */
/**/
1936,
/**/ /**/
1935, 1935,
/**/ /**/