Patch 7.4.1094
Problem:    Test for :hardcopy fails on MS-Windows.
Solution:   Check for the +postscript feature.
Files:      src/testdir/test_hardcopy.vim


*** ../vim-7.4.1093/src/testdir/test_hardcopy.vim       2016-01-14 
22:10:23.793193870 +0100
--- src/testdir/test_hardcopy.vim       2016-01-15 15:41:15.544958190 +0100
***************
*** 45,56 ****
  " Test that :hardcopy produces a non-empty file.
  " We don't check much of the contents.
  func Test_with_syntax()
!   set printoptions=syntax:y
!   syn on
!   hardcopy > Xhardcopy
!   let lines = readfile('Xhardcopy')
!   call assert_true(len(lines) > 20)
!   call assert_true(lines[0] =~ 'PS-Adobe')
!   call delete('Xhardcopy')
!   set printoptions&
  endfunc
--- 45,58 ----
  " Test that :hardcopy produces a non-empty file.
  " We don't check much of the contents.
  func Test_with_syntax()
!   if has('postscript')
!     set printoptions=syntax:y
!     syn on
!     hardcopy > Xhardcopy
!     let lines = readfile('Xhardcopy')
!     call assert_true(len(lines) > 20)
!     call assert_true(lines[0] =~ 'PS-Adobe')
!     call delete('Xhardcopy')
!     set printoptions&
!   endif
  endfunc
*** ../vim-7.4.1093/src/version.c       2016-01-15 15:37:16.979521224 +0100
--- src/version.c       2016-01-15 15:41:56.312520153 +0100
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     1094,
  /**/

-- 
BLACK KNIGHT: None shall pass.
ARTHUR:       I have no quarrel with you, brave Sir knight, but I must cross
              this bridge.
BLACK KNIGHT: Then you shall die.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui