summaryrefslogtreecommitdiff
path: root/src/testdir/test_compiler.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-03 21:40:04 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-03 21:40:04 +0100
commite20b9ececa37a81c0340a78f61e57fa1bf46b06d (patch)
tree52965e69e60cb22155c7895809d5c2eab3505bef /src/testdir/test_compiler.vim
parente7ddf4e3372fad375038ad8771c6d1a7df49c34c (diff)
downloadvim-git-e20b9ececa37a81c0340a78f61e57fa1bf46b06d.tar.gz
patch 8.2.0203: :helptags and some other functionality not testedv8.2.0203
Problem: :helptags and some other functionality not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
Diffstat (limited to 'src/testdir/test_compiler.vim')
-rw-r--r--src/testdir/test_compiler.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim
index 1ce271827..4f02cf1c2 100644
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -60,5 +60,9 @@ func Test_compiler_completion()
endfunc
func Test_compiler_error()
+ let g:current_compiler = 'abc'
call assert_fails('compiler doesnotexist', 'E666:')
+ call assert_equal('abc', g:current_compiler)
+ call assert_fails('compiler! doesnotexist', 'E666:')
+ unlet! g:current_compiler
endfunc