view src/testdir/test_preview.vim @ 18981:25a60d11adc2 v8.2.0051

patch 8.2.0051: command line completion test skipped Commit: https://github.com/vim/vim/commit/731a799bb926c6f424dbfb63430cf631ca7e132a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 28 14:06:50 2019 +0100 patch 8.2.0051: command line completion test skipped Problem: Command line completion test skipped. (Christian Brabandt) Solution: Invert condition.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Dec 2019 14:15:03 +0100
parents 068337e86133
children 2c4d9ca33769
line wrap: on
line source

" Tests for the preview window
source check.vim
CheckFeature quickfix

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