# HG changeset patch # User Bram Moolenaar # Date 1591800303 -7200 # Node ID 88d71b6fbae021aa95eab189aa54814452066121 # Parent 1fb35fe14c9a3c36b5677f518ace01c527d7623d patch 8.2.0948: spell test fails Commit: https://github.com/vim/vim/commit/d281b7c227bc4c78813fdc297ccee4b2cad7e605 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_spell.vim b/src/testdir/test_spell.vim --- 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 or click with mouse (empty cancels): ", a) + \ .. "Type number and 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 or click with mouse (empty cancels): ", a) + \ .. "Type number and 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 or click with mouse (empty cancels): ", a) + \ .. "Type number and or click with the mouse (q or empty cancels): ", a) set spell& spellsuggest& verbose& bwipe! diff --git a/src/version.c b/src/version.c --- 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,