Mercurial > vim
view src/testdir/test_version.vim @ 25684:ba9d587f0b29 v8.2.3378
patch 8.2.3378: MS-Windows: completing environment variables with % is wrong
Commit: https://github.com/vim/vim/commit/6024c0427ce1196344439997d5e41a6f8546368c
Author: Albert Liu <albertymliu@gmail.com>
Date: Fri Aug 27 20:59:35 2021 +0200
patch 8.2.3378: MS-Windows: completing environment variables with % is wrong
Problem: MS-Windows: completing environment variables with % is wrong.
Solution: Only complete environment variables with $. (Albert Liu,
closes #8791)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Aug 2021 21:00:04 +0200 |
parents | dfdd973cf0c9 |
children |
line wrap: on
line source
" Test :version Ex command so check.vim so shared.vim func Test_version() " version should always return the same string. let v1 = execute('version') let v2 = execute('version') call assert_equal(v1, v2) call assert_match("^\n\nVIM - Vi IMproved .*", 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