To: vim_dev@googlegroups.com Subject: Patch 8.2.2702 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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\\\"\", 'tx') ! call assert_equal('"compiler pbx perl php pylint pyunit', @:) call feedkeys(":compiler! p\\\"\", '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\\\"\", 'tx') ! call assert_match('"compiler pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:) call feedkeys(":compiler! p\\\"\", '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 -- Bram@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 ///