comparison src/testdir/test_compiler.vim @ 19289:2f0f308c069c v8.2.0203

patch 8.2.0203: :helptags and some other functionality not tested Commit: https://github.com/vim/vim/commit/e20b9ececa37a81c0340a78f61e57fa1bf46b06d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 3 21:40:04 2020 +0100 patch 8.2.0203: :helptags and some other functionality not tested Problem: :helptags and some other functionality not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5567)
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 Feb 2020 21:45:03 +0100
parents 068337e86133
children b6da81589f8c
comparison
equal deleted inserted replaced
19288:f061872089a9 19289:2f0f308c069c
58 call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx') 58 call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx')
59 call assert_equal('"compiler! pbx perl php pylint pyunit', @:) 59 call assert_equal('"compiler! pbx perl php pylint pyunit', @:)
60 endfunc 60 endfunc
61 61
62 func Test_compiler_error() 62 func Test_compiler_error()
63 let g:current_compiler = 'abc'
63 call assert_fails('compiler doesnotexist', 'E666:') 64 call assert_fails('compiler doesnotexist', 'E666:')
65 call assert_equal('abc', g:current_compiler)
66 call assert_fails('compiler! doesnotexist', 'E666:')
67 unlet! g:current_compiler
64 endfunc 68 endfunc