Skip to content

Commit 14ddd22

Browse files
committed
patch 8.2.1369: MS-Windows: autocommand test sometimes fails
Problem: MS-Windows: autocommand test sometimes fails. Solution: Do not rely on the cat command.
1 parent ff1cd39 commit 14ddd22

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_autocmd.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ func Test_change_mark_in_autocmds()
16181618
write
16191619
au! BufWritePre
16201620

1621-
if executable('cat')
1621+
if has('unix')
16221622
write XtestFilter
16231623
write >> XtestFilter
16241624

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1369,
757759
/**/
758760
1368,
759761
/**/

0 commit comments

Comments
 (0)