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)
gnd
/[a]bcdx
:1
-2gnd
+2gnd/join
+/$
+0gnd
+/\>\zs
+0gnd/^
+gnd$h/\zs
+gnd
:/^start:/,/^end:/wq! test.out
ENDTEST
one
two
abcdx | abcdx | abcdx
+join
+lines
+zero width pattern
+delete first and last chars
end:
SEARCH:
searchmatch
abcdx | | abcdx
+join lines
+zerowidth pattern
+elete first and last char
end:
: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\12=a\r\e:"
+:lang C
+:redir => a
+:try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+:redir END
+o\12=a\r\e:"
+:"
:/^start:/,$wq! test.out
ENDTEST
{'a': {'b': 'B'}}
Vim(call):E737: a
{'a': {'b': 'B'}}
+Vim(foldopen):E490:
+
+
+Error detected while processing :
+E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
+
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 645,
/**/
644,
/**/