patch 9.1.1217: tests: typos in test_matchfuzzy.vim

Commit: 
https://github.com/vim/vim/commit/85627732e0f5f4e31137fc12bcb809418a4f683f
Author: zeertzjq <zeert...@outlook.com>
Date:   Mon Mar 17 21:06:02 2025 +0100

    patch 9.1.1217: tests: typos in test_matchfuzzy.vim
    
    Problem:  tests: typos in test_matchfuzzy.vim (after 9.1.1214).
    Solution: Fix the typos.  Consistently put the function call on the
              second line in assertions for camelcase (zeertzjq).
    
    closes: #16907
    
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_matchfuzzy.vim b/src/testdir/test_matchfuzzy.vim
index 5280f2fa3..eb06cfe5c 100644
--- a/src/testdir/test_matchfuzzy.vim
+++ b/src/testdir/test_matchfuzzy.vim
@@ -87,9 +87,11 @@ func Test_matchfuzzy()
   let l = [{'id' : 5, 'name' : 'foo'}, {'id' : 6, 'name' : []}, {'id' : 7}]
   call assert_fails("let x = matchfuzzy(l, 'foo', {'key' : 'name'})", 'E730:')
 
-  " camcelcase
-  call assert_equal(['Cursor', 'CurSearch', 'CursorLine', 'lCursor', 
'shCurlyIn', 'shCurlyError', 'TracesCursor'], matchfuzzy(['Cursor', 'lCursor', 
'shCurlyIn', 'shCurlyError', 'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur', 
{"camelcase": v:false}))
-  call assert_equal(['lCursor', 'shCurlyIn', 'shCurlyError', 'TracesCursor', 
'Cursor', 'CurSearch', 'CursorLine'], matchfuzzy(['Cursor', 'lCursor', 
'shCurlyIn', 'shCurlyError', 'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur'))
+  " camelcase
+  call assert_equal(['Cursor', 'CurSearch', 'CursorLine', 'lCursor', 
'shCurlyIn', 'shCurlyError', 'TracesCursor'],
+        \ matchfuzzy(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 
'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur', {"camelcase": v:false}))
+  call assert_equal(['lCursor', 'shCurlyIn', 'shCurlyError', 'TracesCursor', 
'Cursor', 'CurSearch', 'CursorLine'],
+        \ matchfuzzy(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 
'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur'))
 
   " Test in latin1 encoding
   let save_enc = &encoding
@@ -173,9 +175,9 @@ func Test_matchfuzzypos()
   let l = [{'id' : 5, 'name' : 'foo'}, {'id' : 6, 'name' : []}, {'id' : 7}]
   call assert_fails("let x = matchfuzzypos(l, 'foo', {'key' : 'name'})", 
'E730:')
 
-  "camelcase
+  " camelcase
   call assert_equal([['lCursor', 'shCurlyIn', 'shCurlyError', 'TracesCursor', 
'Cursor', 'CurSearch', 'CursorLine'], [[1, 2, 3], [2, 3, 4], [2, 3, 4], [6, 7, 
8], [0, 1, 2], [0, 1, 2], [0, 1, 2]], [318, 311, 308, 303, 267, 264, 263]],
-      \ matchfuzzypos(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 
'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur'))
+        \ matchfuzzypos(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 
'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur'))
 
   call assert_equal([['Cursor', 'CurSearch', 'CursorLine', 'lCursor', 
'shCurlyIn', 'shCurlyError', 'TracesCursor'], [[0, 1, 2], [0, 1, 2], [0, 1, 2], 
[1, 2, 3], [2, 3, 4], [2, 3, 4], [6, 7, 8]], [267, 264, 263, 246, 239, 236, 
231]],
         \ matchfuzzypos(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 
'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur', {"camelcase": v:false}))
diff --git a/src/version.c b/src/version.c
index 2e013df26..e8d5523b6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1217,
 /**/
     1216,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1tuGrY-00Geo2-AU%40256bit.org.

Raspunde prin e-mail lui