view src/testdir/test_preview.vim @ 17528:62a6d99082f7 v8.1.1762

patch 8.1.1762: some filetype rules are in the wrong place commit https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 27 21:57:21 2019 +0200 patch 8.1.1762: some filetype rules are in the wrong place Problem: Some filetype rules are in the wrong place. Solution: Move to the right place. Add a few more tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jul 2019 22:00:06 +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