Mercurial > vim
diff src/testdir/test55.in @ 3774:1810ee914648 v7.3.645
updated for version 7.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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 29 Aug 2012 16:55:13 +0200 |
parents | 02440d1fcc9a |
children | 4dd43d6b3df7 |
line wrap: on
line diff
--- 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