]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.0811: MS-Windows: test_expand_dllpath fails v8.0.0811
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Jul 2017 11:51:37 +0000 (13:51 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Jul 2017 11:51:37 +0000 (13:51 +0200)
Problem:    MS-Windows: test_expand_dllpath fails.
Solution:   Change backslashes to forward slashes

src/testdir/test_expand_dllpath.vim
src/version.c

index b3e099a450a50e19db70e1ea03b7b3042fc2801a..154209567100dfe309f7d4af27e02505eedf5785 100644 (file)
@@ -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 = ''
index fa67f7f57056e6f2af78836c2767eda0f57e9fe4..90d9273eba5bafefc249f3ed3641f792215a56f3 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    811,
 /**/
     810,
 /**/