From 6a2a8e66d69b3ed1a00ed465cc6e004636da202c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 26 May 2026 07:23:40 +0800 Subject: [PATCH] vim-patch:9.2.0531: tests: Test_cd_completion() fails on MS-Windows with E344 Problem: tests: Test_cd_completion() fails on MS-Windows with E344 Solution: Catch E344 in addition to E472 (Ken Takata) Sometimes, Test_cd_completion fails with E344: https://github.com/vim/vim-win32-installer/issues/446#issuecomment-4526975345 closes: vim/vim#20328 https://github.com/vim/vim/commit/98401467a996e174d2cb741c9c7d597003e53248 Co-authored-by: K.Takata --- test/old/testdir/test_cd.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/old/testdir/test_cd.vim b/test/old/testdir/test_cd.vim index ca3ad12344..89c8a12bf2 100644 --- a/test/old/testdir/test_cd.vim +++ b/test/old/testdir/test_cd.vim @@ -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