Mercurial > vim
comparison src/testdir/test_compiler.vim @ 34818:7ed07817c287 v9.1.0281
patch 9.1.0281: CI: fails Test_compiler_completion
Commit: https://github.com/vim/vim/commit/d33cb3f65e112bdb2d57139e9a308b1a9c8ffcc2
Author: Christian Brabandt <cb@256bit.org>
Date: Mon Apr 8 22:54:16 2024 +0200
patch 9.1.0281: CI: fails Test_compiler_completion
Problem: CI: fails Test_compiler_completion
Solution: Add pandoc compiler
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 08 Apr 2024 23:00:03 +0200 |
parents | fed9c5ffde42 |
children | 84bd7cb1251d |
comparison
equal
deleted
inserted
replaced
34817:e7137eab4b6f | 34818:7ed07817c287 |
---|---|
69 let clist = GetCompilerNames()->join(' ') | 69 let clist = GetCompilerNames()->join(' ') |
70 call feedkeys(":compiler \<C-A>\<C-B>\"\<CR>", 'tx') | 70 call feedkeys(":compiler \<C-A>\<C-B>\"\<CR>", 'tx') |
71 call assert_match('^"compiler ' .. clist .. '$', @:) | 71 call assert_match('^"compiler ' .. clist .. '$', @:) |
72 | 72 |
73 call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx') | 73 call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx') |
74 call assert_match('"compiler pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:) | 74 call assert_match('"compiler pandoc pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:) |
75 | 75 |
76 call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx') | 76 call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx') |
77 call assert_match('"compiler! pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:) | 77 call assert_match('"compiler! pandoc pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:) |
78 endfunc | 78 endfunc |
79 | 79 |
80 func Test_compiler_error() | 80 func Test_compiler_error() |
81 let g:current_compiler = 'abc' | 81 let g:current_compiler = 'abc' |
82 call assert_fails('compiler doesnotexist', 'E666:') | 82 call assert_fails('compiler doesnotexist', 'E666:') |