comparison src/testdir/test_arglist.vim @ 15290:424f2596f582 v8.1.0653

patch 8.1.0653: arglist test fails on MS-windows commit https://github.com/vim/vim/commit/3de8c2d1f027410db6a06f0fcd3355d96c8b8596 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 28 19:29:35 2018 +0100 patch 8.1.0653: arglist test fails on MS-windows Problem: Arglist test fails on MS-windows. Solution: Only use a file name with a double quote on Unix.
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Dec 2018 19:30:06 +0100
parents d2a162896a2a
children f9a443306174
comparison
equal deleted inserted replaced
15289:1f06588e1317 15290:424f2596f582
216 216
217 %argdelete 217 %argdelete
218 endfunc 218 endfunc
219 219
220 func Test_args_with_quote() 220 func Test_args_with_quote()
221 args \"foobar 221 " Only on Unix can a file name include a double quote.
222 call assert_equal('"foobar', argv(0)) 222 if has('unix')
223 %argdelete 223 args \"foobar
224 call assert_equal('"foobar', argv(0))
225 %argdelete
226 endif
224 endfunc 227 endfunc
225 228
226 " Test for 0argadd and 0argedit 229 " Test for 0argadd and 0argedit
227 " Ported from the test_argument_0count.in test script 230 " Ported from the test_argument_0count.in test script
228 func Test_zero_argadd() 231 func Test_zero_argadd()