view src/testdir/test_preview.vim @ 18333:813c150c3787 v8.1.2161

patch 8.1.2161: mapping test fails Commit: https://github.com/vim/vim/commit/4bd88d568a81d37df69dc3cf8cdd8d9dbb4011b7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 19:27:26 2019 +0200 patch 8.1.2161: mapping test fails Problem: Mapping test fails. Solution: Run the test separately.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 19:30:03 +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