changeset 20792:88d71b6fbae0 v8.2.0948

patch 8.2.0948: spell test fails Commit: https://github.com/vim/vim/commit/d281b7c227bc4c78813fdc297ccee4b2cad7e605 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 16:39:32 2020 +0200 patch 8.2.0948: spell test fails Problem: Spell test fails. Solution: Adjust expected text of the prompt.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 16:45:03 +0200
parents 1fb35fe14c9a
children d48f8bb5f34e
files src/testdir/test_spell.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_spell.vim
+++ b/src/testdir/test_spell.vim
@@ -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!
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    948,
+/**/
     947,
 /**/
     946,