diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-28 21:49:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-28 21:49:21 +0100 |
commit | c701f320e83b33e9ee67d1f7d67d9c1a9a99974d (patch) | |
tree | eaa200fbb1490b4b4099546a17f7186022321863 | |
parent | 37db642083398da7d04ed45767cc46daf40bf72b (diff) |
patch 8.1.1064: no test for output conversion in the GTK GUIv8.1.1064
Problem: No test for output conversion in the GTK GUI.
Solution: Add a simplistic test.
-rw-r--r-- | src/testdir/test_gui.vim | 15 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 7874fffa06..f1f2cdd153 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -720,6 +720,21 @@ func Test_set_guipty() 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 diff --git a/src/version.c b/src/version.c index 1fa7429805..b8b3c149e5 100644 --- a/src/version.c +++ b/src/version.c @@ -776,6 +776,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1064, +/**/ 1063, /**/ 1062, |