Mercurial > vim
view src/testdir/test_cscope.vim @ 9583:b0c7061d6439 v7.4.2069
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 19 16:39:08 2016 +0200
patch 7.4.2069
Problem: spell.c is too big.
Solution: Split it in spell file handling and spell checking.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jul 2016 16:45:06 +0200 |
parents | da98db362fef |
children | ab96eb561a7e |
line wrap: on
line source
" Test for cscope commands. if !has('cscope') finish endif func Test_cscopequickfix() set cscopequickfix=s-,g-,d+,c-,t+,e-,f0,i-,a- call assert_equal('s-,g-,d+,c-,t+,e-,f0,i-,a-', &cscopequickfix) call assert_fails('set cscopequickfix=x-', 'E474:') call assert_fails('set cscopequickfix=s', 'E474:') call assert_fails('set cscopequickfix=s7', 'E474:') call assert_fails('set cscopequickfix=s-a', 'E474:') endfunc