view src/testdir/test_preview.vim @ 18538:c4d97a18af37 v8.1.2263

patch 8.1.2263: 'noesckeys' test fails in GUI Commit: https://github.com/vim/vim/commit/215ba3b63698f3755b2c4de66fc728cc14a8a590 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 6 15:07:07 2019 +0100 patch 8.1.2263: 'noesckeys' test fails in GUI Problem: 'noesckeys' test fails in GUI. Solution: Skip the test in the GUI.
author Bram Moolenaar <Bram@vim.org>
date Wed, 06 Nov 2019 15:15:04 +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