aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-13 12:00:36 -0500
committerGitHub <noreply@github.com>2021-02-13 12:00:36 -0500
commit5ad32885d461e8ace052397b251f25fae24189a3 (patch)
treed67ae1587228756ce084bb67d18b8e785faa87e5 /src
parent8399f48ca9b478acced6de882e982ab92feee794 (diff)
downloadrneovim-5ad32885d461e8ace052397b251f25fae24189a3.tar.gz
rneovim-5ad32885d461e8ace052397b251f25fae24189a3.tar.bz2
rneovim-5ad32885d461e8ace052397b251f25fae24189a3.zip
vim-patch:8.2.2499: "vim -g --version" does not redirect output (#13922)
Problem: "vim -g --version" does not redirect output. Solution: Reset gui.starting when showing version info. (closes vim/vim#7815) https://github.com/vim/vim/commit/3b678047bcd50d6f409175dcffe7839dbb74728b N/A patches for version.c: vim-patch:8.1.2065: compiler warning building non-GUI with MinGW. Problem: Compiler warning building non-GUI with MinGW. Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes vim/vim#4964) https://github.com/vim/vim/commit/910c378d9342e0de8c6736c83ebdbbb597267056 vim-patch:8.2.2500: build fails without the GUI feature Problem: Build fails without the GUI feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/0bcadf14aa700c166c09f1800ed3de00b9598b39 vim-patch:8.2.2502: a few github actions are failing Problem: A few github actions are failing. Solution: Install setuptools-rust. (closes vim/vim#7823) https://github.com/vim/vim/commit/ca753ec862f8191f1fc5ed161753704a488ed08d vim-patch:8.2.2507: github build may fail if Ubuntu 20.04 is used Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is not needed. Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of installing rust. (Ozaki Kiichi, closes vim/vim#7820) https://github.com/vim/vim/commit/0fa09676c25a0a4a01f339887b8bf40b4673621f
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_version.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_version.vim b/src/nvim/testdir/test_version.vim
index 46cf34979f..5fd38f7cdc 100644
--- a/src/nvim/testdir/test_version.vim
+++ b/src/nvim/testdir/test_version.vim
@@ -1,5 +1,8 @@
" Test :version Ex command
+so check.vim
+so shared.vim
+
func Test_version()
" version should always return the same string.
let v1 = execute('version')
@@ -9,4 +12,15 @@ func Test_version()
call assert_match("^\n\nNVIM v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+.*", v1)
endfunc
+func Test_version_redirect()
+ CheckNotGui
+ CheckCanRunGui
+ CheckUnix
+
+ call RunVim([], [], '--clean -g --version >Xversion 2>&1')
+ call assert_match('Features included', readfile('Xversion')->join())
+
+ call delete('Xversion')
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab