view src/testdir/test_preview.vim @ 19869:8c8c7c532424

Added tag v8.2.0490 for changeset a2fa2fc0f4030836595881019737e5d5a9f607bb
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Apr 2020 18:30:04 +0200
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