summaryrefslogtreecommitdiff
path: root/src/testdir/test_cscope.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_cscope.vim')
-rw-r--r--src/testdir/test_cscope.vim14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/testdir/test_cscope.vim b/src/testdir/test_cscope.vim
index 37ef1db68..b2ecdcc91 100644
--- a/src/testdir/test_cscope.vim
+++ b/src/testdir/test_cscope.vim
@@ -241,15 +241,11 @@ func Test_cscopeWithCscopeConnections()
let a = execute('cscope kill -1')
call assert_equal('', a)
- " Test: 'csprg' option
- " Skip this with valgrind, it causes spurious leak reports
- " FIXME: this causes failures when timers are used
- if !RunningWithValgrind() && 0
- call assert_equal('cscope', &csprg)
- set csprg=doesnotexist
- call assert_fails('cscope add Xcscope2.out', 'E262:')
- set csprg=cscope
- endif
+ " Test: 'csprg' option invalid command
+ call assert_equal('cscope', &csprg)
+ set csprg=doesnotexist
+ call assert_fails('cscope add Xcscope2.out', 'E609:')
+ set csprg=cscope
" Test: multiple cscope connections
cscope add Xcscope.out