view src/testdir/test_preview.vim @ 16976:7160dcd5c1d2 v8.1.1488

patch 8.1.1488: summary of tests has incorrect failed count commit https://github.com/vim/vim/commit/150f0550f45b836200a189e4d34417f4d3467455 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 7 21:29:50 2019 +0200 patch 8.1.1488: summary of tests has incorrect failed count Problem: Summary of tests has incorrect failed count. Solution: Add to the failed count instead of setting it. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Jun 2019 21:30: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