Skip to content

Commit 44c1c04

Browse files
committed
patch 9.1.1120: tests: Test_registers fails
Problem: tests: Test_registers fails (T.J. Townsend, after v9.1.1115) Solution: require clipboard feature Signed-off-by: Christian Brabandt <[email protected]>
1 parent 5647c91 commit 44c1c04

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/testdir/test_registers.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,7 @@ endfunc
11041104

11051105
" This caused use-after-free
11061106
func Test_register_redir_display()
1107+
CheckFeature clipboard
11071108
" don't touch the clipboard, so only perform this, when the clipboard is not working
11081109
if has("clipboard_working")
11091110
throw "Skipped: skip touching the clipboard register!"

src/version.c

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

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1120,
707709
/**/
708710
1119,
709711
/**/

0 commit comments

Comments
 (0)