view src/testdir/test_preview.vim @ 18056:624109b3766e v8.1.2023

patch 8.1.2023: no test for synIDattr() returning "strikethrough" Commit: https://github.com/vim/vim/commit/dcb2b9cb085288d2a2e4cc31abc591ade04e782e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 13 21:26:39 2019 +0200 patch 8.1.2023: no test for synIDattr() returning "strikethrough" Problem: No test for synIDattr() returning "strikethrough". Solution: Extend the synIDattr() test. (Jaskaran Singh, closes https://github.com/vim/vim/issues/4929)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Sep 2019 21:30:03 +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