Mercurial > vim
view src/testdir/test_version.vim @ 22299:f70e23adc829
Added tag v8.2.1698 for changeset 07e48ee8c3bb67239e9459fa9037918098bcc802
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Sep 2020 21:15:06 +0200 |
parents | 08940efa6b4e |
children | dfdd973cf0c9 |
line wrap: on
line source
" Test :version Ex command 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 " vim: shiftwidth=2 sts=2 expandtab