neovim/test/functional/normal
Matthew Malcomson 263849b2dd fold: foldMoveRange(): fix :move bug #6534
Closes #6540

In #6221 there was a mistake in calculating which folds need to be
re-ordered. When there are no folds after those that have been adjusted,
then `move_end` remains 0. This results in reverse_fold_order()
swapping folds that have been adjusted with uninitialised folds in the
remainder of the grow array.

Add a check in foldMoveRange() to account for this case.
2017-04-17 04:45:55 +02:00
..
count_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
fold_spec.lua fold: foldMoveRange(): fix :move bug #6534 2017-04-17 04:45:55 +02:00
K_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
lang_spec.lua ci: install Turkish locale and make locale tests more reliable 2017-04-11 10:24:19 +02:00
put_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
undo_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00