view src/testdir/test_preview.vim @ 19478:98e759662690

Added tag v8.2.0296 for changeset 2bb0e80fcd32433b9d113489c0c2f8b3cb225c6d
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Feb 2020 14:30:05 +0100
parents 068337e86133
children 2c4d9ca33769
line wrap: on
line source

" Tests for the preview window
source check.vim
CheckFeature quickfix

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