view src/testdir/test_preview.vim @ 15261:c5cb5151940d v8.1.0639

patch 8.1.0639: text properties test fails on MS-Windows commit https://github.com/vim/vim/commit/8cf734e024af56707a1165bcdfee42364695ec8e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 26 01:09:00 2018 +0100 patch 8.1.0639: text properties test fails on MS-Windows Problem: text properties test fails on MS-Windows Solution: Set fileformat to "unix".
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Dec 2018 01:15:05 +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