Mercurial > vim
diff src/testdir/test_spell.vim @ 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 | 90b96fa35e4b |
children | ed00f0fbdaef |
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!