view src/testdir/test_preview.vim @ 18041:060e1b1220c6 v8.1.2016

patch 8.1.2016: terminal altscreen test now fails on MS-Windows Commit: https://github.com/vim/vim/commit/adbde3fbedd4a5379ddf0cfc9a6854b52955fd4a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 22:57:14 2019 +0200 patch 8.1.2016: terminal altscreen test now fails on MS-Windows Problem: Terminal altscreen test now fails on MS-Windows. Solution: Skip the test on MS-Windows
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 23:00:04 +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