summaryrefslogtreecommitdiff
path: root/src/testdir/test55.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-29 16:55:13 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-29 16:55:13 +0200
commitdd7d84647521723a0c95b72752beccdb7ce2cd02 (patch)
tree4e3d658bba63fbf783ffa66daa0380ed767f4538 /src/testdir/test55.in
parent0551410a14d8fdfa657392c0d6b3cc8dd643752d (diff)
downloadvim-git-dd7d84647521723a0c95b72752beccdb7ce2cd02.tar.gz
updated for version 7.3.645v7.3.645
Problem: No tests for patch 7.3.625 and 7.3.637. Solution: Add more tests for the "gn" command and try/catch. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test55.in')
-rw-r--r--src/testdir/test55.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test55.in b/src/testdir/test55.in
index cf85f57a6..f255e33e4 100644
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -378,6 +378,16 @@ let l = [0, 1, 2, 3]
:unlet dict
:call garbagecollect(1)
:"
+:" test for patch 7.3.637
+:let a = 'No error caught'
+:try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+o=a :"
+:lang C
+:redir => a
+:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+:redir END
+o=a :"
+:"
:/^start:/,$wq! test.out
ENDTEST