view src/testdir/test_preview.vim @ 17721:e17680ecb70d

Added tag v8.1.1857 for changeset 844f470532b65e0ea9a3f2fc05d9bc57d02b6683
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Aug 2019 20:45:05 +0200
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