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 -- [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/202104031712.133HCquo2577701%40masaka.moolenaar.net.

Raspunde prin e-mail lui