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.
9e79ccbe9c
This commit is contained in:
Daniel Hahler
2019-06-08 13:54:44 +02:00
parent faec6fcc6a
commit 40dee0c82e

View File

@@ -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!