view src/testdir/test_version.vim @ 21509:00a2e4d3fc38

Added tag v8.2.1304 for changeset 6b2a5418cbc3b357c54049dbecabd18713e9d5b0
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Jul 2020 20: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