Mercurial > vim
view src/testdir/test_cscope.vim @ 9521:820c8861d15c v7.4.2041
commit https://github.com/vim/vim/commit/603d657219154ef074eeb70f6892b0b54e4fc19b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 15 17:41:56 2016 +0200
patch 7.4.2041
Problem: Netbeans file authentication not tested.
Solution: Add a test.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 15 Jul 2016 17:45:05 +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