[vim] 102/139: patch 7.4.1785 Problem: Regexp test fails on windows. Solution: set 'isprint' to the right value for testing.

James McCoy jamessan at debian.org
Fri May 6 04:00:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 490465bda6ab66f78041709cc02f48a25486a3e5
Author: Bram Moolenaar <Bram at vim.org>
Date:   Sun Apr 24 15:11:02 2016 +0200

    patch 7.4.1785
    Problem:    Regexp test fails on windows.
    Solution:   set 'isprint' to the right value for testing.
---
 src/testdir/test_regexp_utf8.vim | 1 +
 src/version.c                    | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/testdir/test_regexp_utf8.vim b/src/testdir/test_regexp_utf8.vim
index cef2436..6247b30 100644
--- a/src/testdir/test_regexp_utf8.vim
+++ b/src/testdir/test_regexp_utf8.vim
@@ -35,6 +35,7 @@ func Test_equivalence_re2()
 endfunc
 
 func s:classes_test()
+  set isprint=@,161-255
   call assert_equal('Motörhead', matchstr('Motörhead', '[[:print:]]\+'))
 
   let alphachars = ''
diff --git a/src/version.c b/src/version.c
index e6d04ee..46ada0b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1785,
+/**/
     1784,
 /**/
     1783,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list