view src/testdir/test_preview.vim @ 15898:67729676d3f7 v8.1.0955

patch 8.1.0955: matchit autoload directory not in installer commit https://github.com/vim/vim/commit/66ae3d199fdcd732eb79266e913e4e6d2e82ee76 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 19 21:40:28 2019 +0100 patch 8.1.0955: matchit autoload directory not in installer Problem: Matchit autoload directory not in installer. (Chris Morgan) Solution: Adjust the NSIS script. (Christian Brabandt, closes https://github.com/vim/vim/issues/4006)
author Bram Moolenaar <Bram@vim.org>
date Tue, 19 Feb 2019 21:45:08 +0100
parents 5e36b2f825cb
children 068337e86133
line wrap: on
line source

" Tests for the preview window

func Test_Psearch()
  " this used to cause ml_get errors
  help
  let wincount = winnr('$')
  0f
  ps.
  call assert_equal(wincount + 1, winnr('$'))
  pclose
  call assert_equal(wincount, winnr('$'))
  bwipe
endfunc