changeset 11862:18cda18a38e2 v8.0.0811

patch 8.0.0811: MS-Windows: test_expand_dllpath fails commit https://github.com/vim/vim/commit/5449f7c6fc574fed1020d70878becbbfca5a5a41 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 30 13:51:37 2017 +0200 patch 8.0.0811: MS-Windows: test_expand_dllpath fails Problem: MS-Windows: test_expand_dllpath fails. Solution: Change backslashes to forward slashes
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Jul 2017 14:00:05 +0200
parents b59baf86a192
children e1b0061c5101
files src/testdir/test_expand_dllpath.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_expand_dllpath.vim
+++ b/src/testdir/test_expand_dllpath.vim
@@ -6,7 +6,8 @@ func s:test_expand_dllpath(optname)
     execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' 
 
     execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH
-    execute 'call assert_equal("' . $HOME . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' 
+    let home = substitute($HOME, '\\', '/', 'g')
+    execute 'call assert_equal("' . home . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' 
   finally
     execute 'let &' . a:optname . ' = dllpath_save'
     let $TEST_EXPAND_DLLPATH = ''
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    811,
+/**/
     810,
 /**/
     809,