Patch 8.1.1064
Problem:    No test for output conversion in the GTK GUI.
Solution:   Add a simplistic test.
Files:      src/testdir/test_gui.vim


*** ../vim-8.1.1063/src/testdir/test_gui.vim    2019-01-08 21:05:47.820952657 
+0100
--- src/testdir/test_gui.vim    2019-03-28 21:47:50.312889040 +0100
***************
*** 720,725 ****
--- 720,740 ----
    let &guipty = guipty_saved
  endfunc
  
+ func Test_encoding_conversion()
+   " GTK supports conversion between 'encoding' and "utf-8"
+   if has('gui_gtk')
+     let encoding_saved = &encoding
+     set encoding=latin1
+ 
+     " would be nice if we could take a screenshot
+     intro
+     " sets the window title
+     edit SomeFile
+ 
+     let &encoding = encoding_saved
+   endif
+ endfunc
+ 
  func Test_shell_command()
    new
    r !echo hello
*** ../vim-8.1.1063/src/version.c       2019-03-28 21:26:19.252618909 +0100
--- src/version.c       2019-03-28 21:48:35.060652258 +0100
***************
*** 777,778 ****
--- 777,780 ----
  {   /* Add new patch number below this line */
+ /**/
+     1064,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
139. You down your lunch in five minutes, at your desk, so you can
     spend the rest of the hour surfing the Net.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui