Patch 8.2.4991
Problem: No test for hwat patch 8.1.0535 fixes.
Solution: Add a test. (closes #10462)
Files: src/testdir/test_fold.vim
*** ../vim-8.2.4990/src/testdir/test_fold.vim 2022-05-20 18:25:15.809240687
+0100
--- src/testdir/test_fold.vim 2022-05-21 16:32:02.262377844 +0100
***************
*** 231,236 ****
--- 231,256 ----
set foldmethod& foldexpr&
endfunc
+ " Test for what patch 8.1.0535 fixes.
+ func Test_foldexpr_no_interrupt_addsub()
+ new
+ func! FoldFunc()
+ call setpos('.', getcurpos())
+ return '='
+ endfunc
+
+ set foldmethod=expr
+ set foldexpr=FoldFunc()
+ call setline(1, '1.2')
+
+ exe "norm! $\<C-A>"
+ call assert_equal('1.3', getline(1))
+
+ bwipe!
+ delfunc FoldFunc
+ set foldmethod& foldexpr&
+ endfunc
+
func Check_foldlevels(expected)
call assert_equal(a:expected, map(range(1, line('$')), 'foldlevel(v:val)'))
endfunc
*** ../vim-8.2.4990/src/version.c 2022-05-21 16:28:38.390926796 +0100
--- src/version.c 2022-05-21 16:33:10.878230148 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4991,
/**/
--
hundred-and-one symptoms of being an internet addict:
245. You use Real Audio to listen to a radio station from a distant
city rather than turn on your stereo system.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220521153506.237441C0473%40moolenaar.net.