view src/testdir/test_version.vim @ 20739:a1b20eb19483 v8.2.0922

patch 8.2.0922: search test fails Commit: https://github.com/vim/vim/commit/48af321a3382008dc642362d3f54bb6a61ff36e4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 7 17:20:02 2020 +0200 patch 8.2.0922: search test fails Problem: Search test fails. Solution: Remove failure tests for calls that no longer fail.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Jun 2020 17:30:03 +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