diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-13 22:44:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-13 22:44:12 +0200 |
commit | 6d20e1754461b0f8d395f2e3464f0dc1060497f7 (patch) | |
tree | eaae1bbf236240f6978302fe22b4fd9ca99cff8c /src/testdir/test_cscope.vim | |
parent | 3e946fdc7b3639f84c96cd8a5d5b4b4b010f56ea (diff) | |
download | vim-git-6d20e1754461b0f8d395f2e3464f0dc1060497f7.tar.gz |
patch 7.4.2033v7.4.2033
Problem: 'cscopequickfix' option does not accept new value "a".
Solution: Adjust list of command characters. (Ken Takata)
Diffstat (limited to 'src/testdir/test_cscope.vim')
-rw-r--r-- | src/testdir/test_cscope.vim | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/testdir/test_cscope.vim b/src/testdir/test_cscope.vim new file mode 100644 index 000000000..b6d70f076 --- /dev/null +++ b/src/testdir/test_cscope.vim @@ -0,0 +1,15 @@ +" 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 |