Patch 8.2.2702

5 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 3, 2021, 1:13:03 PM4/3/21
to vim...@googlegroups.com

Patch 8.2.2702
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
Files: src/testdir/test_compiler.vim


*** ../vim-8.2.2701/src/testdir/test_compiler.vim 2020-11-27 19:13:24.186184976 +0100
--- src/testdir/test_compiler.vim 2021-04-03 19:05:25.294252451 +0200
***************
*** 69,78 ****
call assert_match('^"compiler ' .. clist .. '$', @:)

call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
! call assert_equal('"compiler pbx perl php pylint pyunit', @:)

call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx')
! call assert_equal('"compiler! pbx perl php pylint pyunit', @:)
endfunc

func Test_compiler_error()
--- 69,78 ----
call assert_match('^"compiler ' .. clist .. '$', @:)

call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
! call assert_match('"compiler pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)

call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx')
! call assert_match('"compiler! pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)
endfunc

func Test_compiler_error()
*** ../vim-8.2.2701/src/version.c 2021-04-03 17:33:49.173081862 +0200
--- src/version.c 2021-04-03 19:06:22.802143705 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2702,
/**/

--
hundred-and-one symptoms of being an internet addict:
51. You put a pillow case over your laptop so your lover doesn't see it while
you are pretending to catch your breath.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages