astepano / rpms / vim

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