0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1410: adding compiler plugin requires test change

Problem:    Adding compiler plugin requires test change.
Solution:   Include compiler plugin and adjust test.
This commit is contained in:
Bram Moolenaar
2020-08-09 20:05:41 +02:00
parent 1e91eafc2e
commit 7f7a888869
3 changed files with 30 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ func Test_compiler_without_arg()
let a = split(execute('compiler'))
call assert_match(runtime .. '/compiler/ant.vim$', a[0])
call assert_match(runtime .. '/compiler/bcc.vim$', a[1])
call assert_match(runtime .. '/compiler/xmlwf.vim$', a[-1])
call assert_match(runtime .. '/compiler/xo.vim$', a[-1])
endfunc
" Test executing :compiler from the command line, not from a script
@@ -60,7 +60,7 @@ endfunc
func Test_compiler_completion()
call feedkeys(":compiler \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('^"compiler ant bcc .* xmlwf$', @:)
call assert_match('^"compiler ant bcc .* xmlwf xo$', @:)
call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"compiler pbx perl php pylint pyunit', @:)