@@ -306,40 +306,40 @@ func Test_q_arg()
306306 call writefile (lines , ' Xbadfile.c' )
307307
308308 let after = << trim [CODE]
309- call writefile ([&errorfile , string (getpos (" ." ))], " Xtestout " )
309+ call writefile ([&errorfile , string (getpos (" ." ))], " XtestoutQarg " )
310310 copen
311- w >> Xtestout
311+ w >> XtestoutQarg
312312 qall
313313 [CODE]
314314
315315 " Test with default argument '-q'.
316316 call assert_equal (' errors.err' , &errorfile )
317317 call writefile ([" Xbadfile.c:4:12: error: expected ';' before '}' token" ], ' errors.err' )
318318 if RunVim ([], after, ' -q' )
319- let lines = readfile (' Xtestout ' )
319+ let lines = readfile (' XtestoutQarg ' )
320320 call assert_equal ([' errors.err' ,
321321 \ ' [0, 4, 12, 0]' ,
322322 \ " Xbadfile.c|4 col 12| error: expected ';' before '}' token" ],
323323 \ lines )
324324 endif
325- call delete (' Xtestout ' )
325+ call delete (' XtestoutQarg ' )
326326 call delete (' errors.err' )
327327
328- " Test with explicit argument '-q Xerrors ' (with space).
329- call writefile ([" Xbadfile.c:4:12: error: expected ';' before '}' token" ], ' Xerrors ' )
330- if RunVim ([], after, ' -q Xerrors ' )
331- let lines = readfile (' Xtestout ' )
332- call assert_equal ([' Xerrors ' ,
328+ " Test with explicit argument '-q XerrorsQarg ' (with space).
329+ call writefile ([" Xbadfile.c:4:12: error: expected ';' before '}' token" ], ' XerrorsQarg ' )
330+ if RunVim ([], after, ' -q XerrorsQarg ' )
331+ let lines = readfile (' XtestoutQarg ' )
332+ call assert_equal ([' XerrorsQarg ' ,
333333 \ ' [0, 4, 12, 0]' ,
334334 \ " Xbadfile.c|4 col 12| error: expected ';' before '}' token" ],
335335 \ lines )
336336 endif
337- call delete (' Xtestout ' )
337+ call delete (' XtestoutQarg ' )
338338
339- " Test with explicit argument '-qXerrors ' (without space).
340- if RunVim ([], after, ' -qXerrors ' )
341- let lines = readfile (' Xtestout ' )
342- call assert_equal ([' Xerrors ' ,
339+ " Test with explicit argument '-qXerrorsQarg ' (without space).
340+ if RunVim ([], after, ' -qXerrorsQarg ' )
341+ let lines = readfile (' XtestoutQarg ' )
342+ call assert_equal ([' XerrorsQarg ' ,
343343 \ ' [0, 4, 12, 0]' ,
344344 \ " Xbadfile.c|4 col 12| error: expected ';' before '}' token" ],
345345 \ lines )
@@ -350,8 +350,8 @@ func Test_q_arg()
350350 call assert_equal (3 , v: shell_error )
351351
352352 call delete (' Xbadfile.c' )
353- call delete (' Xtestout ' )
354- call delete (' Xerrors ' )
353+ call delete (' XtestoutQarg ' )
354+ call delete (' XerrorsQarg ' )
355355endfunc
356356
357357" Test the -V[N]{filename} argument to set the 'verbose' option to N
0 commit comments