view src/testdir/test_cscope.vim @ 9726:45d404749bb0

Added tag v7.4.2138 for changeset 4a4a71d67131d7395f02a2f0705887a293b55183
author Christian Brabandt <cb@256bit.org>
date Mon, 01 Aug 2016 16:30:07 +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