view src/testdir/test_version.vim @ 21324:e56692e9c20a

Added tag v8.2.1212 for changeset 5b0bbc5d4e74f8de8ad92924e93a571d45caa4b4
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jul 2020 22:00:05 +0200
parents 4c9acbd6b3c7
children 08940efa6b4e
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