mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
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)3b678047bcN/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)910c378d93vim-patch:8.2.2500: build fails without the GUI feature Problem: Build fails without the GUI feature. Solution: Add #ifdef.0bcadf14aavim-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)ca753ec862vim-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)0fa09676c2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user