summaryrefslogtreecommitdiff
path: root/src/testdir/test_version.vim
blob: 2f66f50259d13bcaa71671117da8022fd399e52d (plain)
1
2
3
4
5
6
7
8
9
10
" 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