view src/testdir/test_preview.vim @ 13503:5d345460c984 v8.0.1625

patch 8.0.1625: test_quotestar is flaky when run in GTK GUI commit https://github.com/vim/vim/commit/29dfa5af3c14406573d08609d2e95add4d6b45fb Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 20 21:24:45 2018 +0100 patch 8.0.1625: test_quotestar is flaky when run in GTK GUI Problem: Test_quotestar is flaky when run in GTK GUI. Solution: Do not call lose_selection when invoked from selection_clear_event().
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Mar 2018 21:30:07 +0100
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