Mercurial > vim
view src/testdir/test_version.vim @ 23304:e438ec7ffd5d
Added tag v8.2.2197 for changeset 9af15022894c85b0c050d2e61fbbc327b2882c0e
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Dec 2020 13:00:05 +0100 |
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