Karsten Hopp 349704
To: vim_dev@googlegroups.com
Karsten Hopp 349704
Subject: Patch 7.3.645
Karsten Hopp 349704
Fcc: outbox
Karsten Hopp 349704
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 349704
Mime-Version: 1.0
Karsten Hopp 349704
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 349704
Content-Transfer-Encoding: 8bit
Karsten Hopp 349704
------------
Karsten Hopp 349704
Karsten Hopp 349704
Patch 7.3.645
Karsten Hopp 349704
Problem:    No tests for patch 7.3.625 and 7.3.637.
Karsten Hopp 349704
Solution:   Add more tests for the "gn" command and try/catch. (Christian
Karsten Hopp 349704
	    Brabandt)
Karsten Hopp 349704
Files:	    src/testdir/test53.in, src/testdir/test53.ok,
Karsten Hopp 349704
	    src/testdir/test55.in, src/testdir/test55.ok
Karsten Hopp 349704
Karsten Hopp 349704
Karsten Hopp 349704
*** ../vim-7.3.644/src/testdir/test53.in	2012-07-25 15:06:20.000000000 +0200
Karsten Hopp 349704
--- src/testdir/test53.in	2012-08-29 16:37:44.000000000 +0200
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 34,40 ****
Karsten Hopp 349704
  gnd
Karsten Hopp 349704
  /[a]bcdx
Karsten Hopp 349704
  :1
Karsten Hopp 349704
! 2gnd
Karsten Hopp 349704
  :/^start:/,/^end:/wq! test.out
Karsten Hopp 349704
  ENDTEST
Karsten Hopp 349704
  
Karsten Hopp 349704
--- 34,46 ----
Karsten Hopp 349704
  gnd
Karsten Hopp 349704
  /[a]bcdx
Karsten Hopp 349704
  :1
Karsten Hopp 349704
! 2gnd/join
Karsten Hopp 349704
! /$
Karsten Hopp 349704
! 0gnd
Karsten Hopp 349704
! /\>\zs
Karsten Hopp 349704
! 0gnd/^
Karsten Hopp 349704
! gnd$h/\zs
Karsten Hopp 349704
! gnd
Karsten Hopp 349704
  :/^start:/,/^end:/wq! test.out
Karsten Hopp 349704
  ENDTEST
Karsten Hopp 349704
  
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 57,60 ****
Karsten Hopp 349704
--- 63,70 ----
Karsten Hopp 349704
  one
Karsten Hopp 349704
  two
Karsten Hopp 349704
  abcdx | abcdx | abcdx
Karsten Hopp 349704
+ join 
Karsten Hopp 349704
+ lines
Karsten Hopp 349704
+ zero width pattern
Karsten Hopp 349704
+ delete first and last chars
Karsten Hopp 349704
  end:
Karsten Hopp 349704
*** ../vim-7.3.644/src/testdir/test53.ok	2012-07-25 15:06:20.000000000 +0200
Karsten Hopp 349704
--- src/testdir/test53.ok	2012-08-29 16:37:48.000000000 +0200
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 21,24 ****
Karsten Hopp 349704
--- 21,27 ----
Karsten Hopp 349704
  SEARCH:
Karsten Hopp 349704
  searchmatch
Karsten Hopp 349704
  abcdx |  | abcdx
Karsten Hopp 349704
+ join lines
Karsten Hopp 349704
+ zerowidth pattern
Karsten Hopp 349704
+ elete first and last char
Karsten Hopp 349704
  end:
Karsten Hopp 349704
*** ../vim-7.3.644/src/testdir/test55.in	2012-05-18 12:06:58.000000000 +0200
Karsten Hopp 349704
--- src/testdir/test55.in	2012-08-29 16:50:51.000000000 +0200
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 378,383 ****
Karsten Hopp 349704
--- 378,393 ----
Karsten Hopp 349704
  :unlet dict
Karsten Hopp 349704
  :call garbagecollect(1)
Karsten Hopp 349704
  :"
Karsten Hopp 349704
+ :" test for patch 7.3.637
Karsten Hopp 349704
+ :let a = 'No error caught'
Karsten Hopp 349704
+ :try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
Karsten Hopp 349704
+ o?=a
?:"
Karsten Hopp 349704
+ :lang C
Karsten Hopp 349704
+ :redir => a
Karsten Hopp 349704
+ :try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
Karsten Hopp 349704
+ :redir END
Karsten Hopp 349704
+ o?=a
?:"
Karsten Hopp 349704
+ :"
Karsten Hopp 349704
  :/^start:/,$wq! test.out
Karsten Hopp 349704
  ENDTEST
Karsten Hopp 349704
  
Karsten Hopp 349704
*** ../vim-7.3.644/src/testdir/test55.ok	2012-05-18 12:06:58.000000000 +0200
Karsten Hopp 349704
--- src/testdir/test55.ok	2012-08-29 16:51:15.000000000 +0200
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 115,117 ****
Karsten Hopp 349704
--- 115,123 ----
Karsten Hopp 349704
  {'a': {'b': 'B'}}
Karsten Hopp 349704
  Vim(call):E737: a
Karsten Hopp 349704
  {'a': {'b': 'B'}}
Karsten Hopp 349704
+ Vim(foldopen):E490:
Karsten Hopp 349704
+ 
Karsten Hopp 349704
+ 
Karsten Hopp 349704
+ Error detected while processing :
Karsten Hopp 349704
+ E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry
Karsten Hopp 349704
+ 
Karsten Hopp 349704
*** ../vim-7.3.644/src/version.c	2012-08-29 16:34:23.000000000 +0200
Karsten Hopp 349704
--- src/version.c	2012-08-29 16:37:20.000000000 +0200
Karsten Hopp 349704
***************
Karsten Hopp 349704
*** 721,722 ****
Karsten Hopp 349704
--- 721,724 ----
Karsten Hopp 349704
  {   /* Add new patch number below this line */
Karsten Hopp 349704
+ /**/
Karsten Hopp 349704
+     645,
Karsten Hopp 349704
  /**/
Karsten Hopp 349704
Karsten Hopp 349704
-- 
Karsten Hopp 349704
TALL KNIGHT OF NI: Ni!
Karsten Hopp 349704
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 349704
Karsten Hopp 349704
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 349704
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 349704
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 349704
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///