Mercurial > vim
comparison src/testdir/test_expand_dllpath.vim @ 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 | 398ad090256d |
children | 08940efa6b4e |
comparison
equal
deleted
inserted
replaced
11861:b59baf86a192 | 11862:18cda18a38e2 |
---|---|
4 try | 4 try |
5 execute 'set ' . a:optname . '=$TEST_EXPAND_DLLPATH' | 5 execute 'set ' . a:optname . '=$TEST_EXPAND_DLLPATH' |
6 execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' | 6 execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' |
7 | 7 |
8 execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH | 8 execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH |
9 execute 'call assert_equal("' . $HOME . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' | 9 let home = substitute($HOME, '\\', '/', 'g') |
10 execute 'call assert_equal("' . home . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')' | |
10 finally | 11 finally |
11 execute 'let &' . a:optname . ' = dllpath_save' | 12 execute 'let &' . a:optname . ' = dllpath_save' |
12 let $TEST_EXPAND_DLLPATH = '' | 13 let $TEST_EXPAND_DLLPATH = '' |
13 endtry | 14 endtry |
14 endfunc | 15 endfunc |