diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-12 12:18:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 12:18:10 +0800 |
| commit | 540d1af90e2276a8bd3b5edb1a63c8225a1aa423 (patch) | |
| tree | a5d15ea92d0197cd0f5c3b08d6c95071fc0913ba /src/nvim/testdir/test_compiler.vim | |
| parent | 034d28c705ccb93dea27613cbf91ba3f9c1caaa7 (diff) | |
| parent | 53392f48b1e258bc11afdad7104930d7c1a361da (diff) | |
| download | rneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.tar.gz rneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.tar.bz2 rneovim-540d1af90e2276a8bd3b5edb1a63c8225a1aa423.zip | |
Merge pull request #19330 from zeertzjq/vim-8.2.0203
vim-patch:8.2.0203: :helptags and some other functionality not tested
Diffstat (limited to 'src/nvim/testdir/test_compiler.vim')
| -rw-r--r-- | src/nvim/testdir/test_compiler.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim index c0c572ce65..3dc8710d63 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -68,5 +68,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 |