1
0
forked from aniani/vim

patch 8.2.0948: spell test fails

Problem:    Spell test fails.
Solution:   Adjust expected text of the prompt.
This commit is contained in:
Bram Moolenaar
2020-06-10 16:39:32 +02:00
parent ab54032f29
commit d281b7c227
2 changed files with 5 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ func Test_spellsuggest_option_number()
\ .. "Change \"baord\" to:\n" \ .. "Change \"baord\" to:\n"
\ .. " 1 \"board\"\n" \ .. " 1 \"board\"\n"
\ .. " 2 \"bard\"\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 set spell spellsuggest=0
call assert_equal("\nSorry, no suggestions", execute('norm $z=')) call assert_equal("\nSorry, no suggestions", execute('norm $z='))
@@ -290,7 +290,7 @@ func Test_spellsuggest_option_expr()
\ .. " 1 \"BARD\"\n" \ .. " 1 \"BARD\"\n"
\ .. " 2 \"BOARD\"\n" \ .. " 2 \"BOARD\"\n"
\ .. " 3 \"BROAD\"\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 " With verbose, z= should show the score i.e. word length with
" our SpellSuggest() function. " our SpellSuggest() function.
@@ -302,7 +302,7 @@ func Test_spellsuggest_option_expr()
\ .. " 1 \"BARD\" (4 - 0)\n" \ .. " 1 \"BARD\" (4 - 0)\n"
\ .. " 2 \"BOARD\" (5 - 0)\n" \ .. " 2 \"BOARD\" (5 - 0)\n"
\ .. " 3 \"BROAD\" (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& set spell& spellsuggest& verbose&
bwipe! bwipe!

View File

@@ -754,6 +754,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 */
/**/
948,
/**/ /**/
947, 947,
/**/ /**/