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 <cb@256bit.org>
diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim
index 1312702..ee59ecb 100644
--- a/src/testdir/test_registers.vim
+++ b/src/testdir/test_registers.vim
@@ -1104,6 +1104,7 @@
" This caused use-after-free
func Test_register_redir_display()
+ CheckFeature clipboard
" don't touch the clipboard, so only perform this, when the clipboard is not working
if has("clipboard_working")
throw "Skipped: skip touching the clipboard register!"
diff --git a/src/version.c b/src/version.c
index 7ba180e..33562db 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1120,
+/**/
1119,
/**/
1118,