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:
@@ -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!
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
948,
|
||||
/**/
|
||||
947,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user