patch 9.1.0944: tests: test_registers fails when not run under X11
Problem: tests: test_registers fails when not run under X11
Solution: filter out warning message
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim
index 0888e60..36fc304 100644
--- a/src/testdir/test_registers.vim
+++ b/src/testdir/test_registers.vim
@@ -53,6 +53,9 @@
" these commands work in the sandbox
let a = execute('sandbox display')
+ " When X11 connection is not available, there is a warning W23
+ " filter this out (we could also run the :display comamand twice)
+ let a = substitute(a, 'W23.*0\n', '', '')
let b = execute('sandbox registers')
call assert_equal(a, b)
diff --git a/src/version.c b/src/version.c
index 8bd59e3..ebaca6e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 944,
+/**/
943,
/**/
942,