Merge pull request #40003 from zeertzjq/vim-9.2.0531

vim-patch:9.2.{0531,0536}
This commit is contained in:
zeertzjq
2026-05-26 07:39:50 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ func Test_cd_completion()
let dir = d
" Yay! We found a suitable dir!
break
catch /:E472:/
catch /:\(E472\|E344\):/
" Just skip directories where "cd" fails
continue
finally

View File

@@ -622,7 +622,7 @@ func Test_invalid_args()
endfor
endif
if has('gui_gtk')
if has('gui_gtk') && has("xterm_clipboard")
let out = split(system(GetVimCommand() .. ' --display'), "\n")
call assert_equal(1, v:shell_error)
call assert_match('^VIM - Vi IMproved .* (.*)$', out[0])