mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 8.1.1064: no test for output conversion in the GTK GUI
Problem: No test for output conversion in the GTK GUI. Solution: Add a simplistic test.
This commit is contained in:
parent
37db642083
commit
c701f320e8
@ -720,6 +720,21 @@ func Test_set_guipty()
|
|||||||
let &guipty = guipty_saved
|
let &guipty = guipty_saved
|
||||||
endfunc
|
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()
|
func Test_shell_command()
|
||||||
new
|
new
|
||||||
r !echo hello
|
r !echo hello
|
||||||
|
@ -775,6 +775,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1064,
|
||||||
/**/
|
/**/
|
||||||
1063,
|
1063,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user