Mercurial > vim
view src/testdir/test_preview.vim @ 12011:1f4e7361ce89 v8.0.0886
patch 8.0.0886: crash when using ":term ls"
commit https://github.com/vim/vim/commit/f8d57a50496d854f3e82725bfde1543c9d01ff98
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 7 20:38:42 2017 +0200
patch 8.0.0886: crash when using ":term ls"
Problem: Crash when using ":term ls".
Solution: Fix line number computation. Add a test for this.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 07 Aug 2017 20:45:04 +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