aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-15 02:37:22 +0200
committerGitHub <noreply@github.com>2018-04-15 02:37:22 +0200
commita7e7f7bd83abc5c31008e40556f794d9b00db431 (patch)
tree1e0fdc80c9dd08aff01735a30aed9c2d79792f7d /src/nvim/testdir/test_options.vim
parentee4e1fd8ecf1747b55d2968084047552429cedee (diff)
parent51b9d85bb47495014968922d4adff5319ba44900 (diff)
downloadrneovim-a7e7f7bd83abc5c31008e40556f794d9b00db431.tar.gz
rneovim-a7e7f7bd83abc5c31008e40556f794d9b00db431.tar.bz2
rneovim-a7e7f7bd83abc5c31008e40556f794d9b00db431.zip
Merge #8160 'win: oldtests: prefer cmd.exe'
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index a15d15213a..f8c3161b40 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -158,6 +158,8 @@ func Test_set_completion()
call assert_equal('"set fileencodings:ucs-bom,utf-8,default,latin1', @:)
" Expand directories.
+ let shellslash = &shellslash
+ set shellslash
call feedkeys(":set cdpath=./\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('./samples/ ', @:)
call assert_notmatch('./small.vim ', @:)
@@ -168,6 +170,7 @@ func Test_set_completion()
call feedkeys(":set tags=./\\\\ dif\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"set tags=./\\ diff diffexpr diffopt', @:)
+ let &shellslash = shellslash
endfunc
func Test_set_errors()