Elimar Riesebieter <[email protected]> wrote:

> From test_termcodes.vim:
> Found errors in Test_xterm_mouse_middle_click():
> Caught exception in Test_xterm_mouse_middle_click(): Vim(let):E354: Invalid 
> register name: '*' @ function RunTheTest[40]..Test_xterm_mouse_middle_click, 
> line 6
> TEST FAILURE
>
> Elimar

Can you send the output of command  ":version" ?

I suppose that Test_xterm_mouse_middle_click() should be skipped
if 'clipboard' feature is not available, since it uses register @*.

Please check that the attached patch.

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index af10e1d5c..489c35e1c 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -77,6 +77,9 @@ func Test_xterm_mouse_left_click()
 endfunc
 
 func Test_xterm_mouse_middle_click()
+  if !has('clipboard')
+    return
+  endif
   new
   let save_mouse = &mouse
   let save_term = &term

Raspunde prin e-mail lui