blob: b6d70f0765e49137ba3cb6576dcf6d5d71b933ee [file] [log] [blame]
Bram Moolenaar6d20e172016-07-13 22:44:12 +02001" 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