view src/testdir/test_preview.vim @ 16360:7a8706e25c2d v8.1.1185

patch 8.1.1185: mapping for CTRL-X is inconsistent commit https://github.com/vim/vim/commit/86ec6d7e1e037e839879a5c05c2ee77db27fb557 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 18 21:09:02 2019 +0200 patch 8.1.1185: mapping for CTRL-X is inconsistent Problem: Mapping for CTRL-X is inconsistent. Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata, closes #4265)
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 Apr 2019 21:15: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