File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,3 +27,20 @@ func Test_z_equal_on_invalid_utf8_word()
2727 set nospell
2828 bwipe!
2929endfunc
30+
31+ func Test_spellreall ()
32+ new
33+ set spell
34+ call assert_fails (' spellrepall' , ' E752:' )
35+ call setline (1 , [' A speling mistake. The same speling mistake.' ,
36+ \ ' Another speling mistake.' ])
37+ call feedkeys (' ]s1z=' , ' tx' )
38+ call assert_equal (' A spelling mistake. The same speling mistake.' , getline (1 ))
39+ call assert_equal (' Another speling mistake.' , getline (2 ))
40+ spellrepall
41+ call assert_equal (' A spelling mistake. The same spelling mistake.' , getline (1 ))
42+ call assert_equal (' Another spelling mistake.' , getline (2 ))
43+ call assert_fails (' spellrepall' , ' E753:' )
44+ set spell &
45+ bwipe!
46+ endfunc
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 601 ,
767769/**/
768770 600 ,
769771/**/
You can’t perform that action at this time.
0 commit comments