view src/testdir/test_version.vim @ 23331:c5b1246b9557

Added tag v8.2.2208 for changeset e8eb4fd44902b6279b20f7d55b95a25b2328f8a7
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Dec 2020 22:00:04 +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