]> granicus.if.org Git - vim/commitdiff
patch 8.2.0948: spell test fails v8.2.0948
authorBram Moolenaar <Bram@vim.org>
Wed, 10 Jun 2020 14:39:32 +0000 (16:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 10 Jun 2020 14:39:32 +0000 (16:39 +0200)
Problem:    Spell test fails.
Solution:   Adjust expected text of the prompt.

src/testdir/test_spell.vim
src/version.c

index 7cc209bc8e96887b0a0e90236f1b273100f0d50e..aee51c7785d664b38b281581b2021e931fc469ad 100644 (file)
@@ -252,7 +252,7 @@ func Test_spellsuggest_option_number()
   \ .. "Change \"baord\" to:\n"
   \ .. " 1 \"board\"\n"
   \ .. " 2 \"bard\"\n"
-  \ .. "Type number and <Enter> or click with mouse (empty cancels): ", a)
+  \ .. "Type number and <Enter> or click with the mouse (q or empty cancels): ", a)
 
   set spell spellsuggest=0
   call assert_equal("\nSorry, no suggestions", execute('norm $z='))
@@ -290,7 +290,7 @@ func Test_spellsuggest_option_expr()
   \ .. " 1 \"BARD\"\n"
   \ .. " 2 \"BOARD\"\n"
   \ .. " 3 \"BROAD\"\n"
-  \ .. "Type number and <Enter> or click with mouse (empty cancels): ", a)
+  \ .. "Type number and <Enter> or click with the mouse (q or empty cancels): ", a)
 
   " With verbose, z= should show the score i.e. word length with
   " our SpellSuggest() function.
@@ -302,7 +302,7 @@ func Test_spellsuggest_option_expr()
   \ .. " 1 \"BARD\"                      (4 - 0)\n"
   \ .. " 2 \"BOARD\"                     (5 - 0)\n"
   \ .. " 3 \"BROAD\"                     (5 - 0)\n"
-  \ .. "Type number and <Enter> or click with mouse (empty cancels): ", a)
+  \ .. "Type number and <Enter> or click with the mouse (q or empty cancels): ", a)
 
   set spell& spellsuggest& verbose&
   bwipe!
index b0a0669bbdc318d725e3b73eba95ede812b01b99..20d5081579a3d5739c84ff665c7a82228ba2bc6b 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    948,
 /**/
     947,
 /**/