view src/testdir/test_cscope.vim @ 9604:a16f2505a6b3

Added tag v7.4.2079 for changeset 20e7be5d99ac2299ab98660f8bf6d710da2087ac
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jul 2016 00:15: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