view src/testdir/test_version.vim @ 20820:3e606a19fa13 v8.2.0962

patch 8.2.0962: terminal test sometimes hangs on Travis Commit: https://github.com/vim/vim/commit/f6e020b1225970d95e6848b79066f82d9e65b66c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 12 20:11:55 2020 +0200 patch 8.2.0962: terminal test sometimes hangs on Travis Problem: Terminal test sometimes hangs on Travis. Solution: Do show output for this test temporarily.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jun 2020 20: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