view src/testdir/test_preview.vim @ 13317:64be34986f54

Added tag v8.0.1532 for changeset de19318319a6464d76633c2e7e7e5fa101c64361
author Christian Brabandt <cb@256bit.org>
date Fri, 23 Feb 2018 18:30:07 +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