view src/testdir/test_version.vim @ 20451:1b223803fdb6

Added tag v8.2.0779 for changeset d5d89c24eec778f1fe2e1d21e4a4ff112c720c2f
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 May 2020 16:15:04 +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