aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-08 13:54:44 +0200
committerDaniel Hahler <git@thequod.de>2019-06-08 13:55:13 +0200
commit40dee0c82ec650c4693023ecd1495b0bd70f684d (patch)
treedde742a7f4fc47f9a818e801b911113abb502ccb
parentfaec6fcc6a317d52e3e47b4565dee9bdeb58cac1 (diff)
downloadrneovim-40dee0c82ec650c4693023ecd1495b0bd70f684d.tar.gz
rneovim-40dee0c82ec650c4693023ecd1495b0bd70f684d.tar.bz2
rneovim-40dee0c82ec650c4693023ecd1495b0bd70f684d.zip
vim-patch:8.1.0807: session test fails on MS-Windows
Problem: Session test fails on MS-Windows. Solution: Don't try creating file with illegal name. https://github.com/vim/vim/commit/9e79ccbe9ce6fce18939c7ac2e5ad059a3bd1951
-rw-r--r--src/nvim/testdir/test_mksession.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_mksession.vim b/src/nvim/testdir/test_mksession.vim
index c790bd32e3..7c5b95ae96 100644
--- a/src/nvim/testdir/test_mksession.vim
+++ b/src/nvim/testdir/test_mksession.vim
@@ -239,6 +239,10 @@ func Test_mkview_no_file_name()
endfunc
func Test_mksession_quote_in_filename()
+ if !has('unix')
+ " only Unix can handle this weird filename
+ return
+ endif
let v:errmsg = ''
let filename = has('win32') ? 'x''y' : 'x''y"z'
%bwipe!