Mercurial > vim
view src/testdir/test_preview.vim @ 16539:563163ec0244 v8.1.1273
patch 8.1.1273: compiler warning in direct write code
commit https://github.com/vim/vim/commit/f653a6bcff48161b56eeb3a584011aab6665f1e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 5 13:20:02 2019 +0200
patch 8.1.1273: compiler warning in direct write code
Problem: Compiler warning in direct write code.
Solution: Add a type cast.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 May 2019 13:30: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