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