view src/testdir/test_preview.vim @ 16953:95975a82df42 v8.1.1477

patch 8.1.1477: test summary fails in the tiny version commit https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 6 14:08:50 2019 +0200 patch 8.1.1477: test summary fails in the tiny version Problem: Test summary fails in the tiny version. Solution: set 'nocompatible'.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 14:15: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