1" Test for cscope commands. 2 3if !has('cscope') 4 finish 5endif 6 7func Test_cscopequickfix() 8 set cscopequickfix=s-,g-,d+,c-,t+,e-,f0,i-,a- 9 call assert_equal('s-,g-,d+,c-,t+,e-,f0,i-,a-', &cscopequickfix) 10 11 call assert_fails('set cscopequickfix=x-', 'E474:') 12 call assert_fails('set cscopequickfix=s', 'E474:') 13 call assert_fails('set cscopequickfix=s7', 'E474:') 14 call assert_fails('set cscopequickfix=s-a', 'E474:') 15endfunc 16