Mercurial > vim
view src/testdir/test_preview.vim @ 17740:01205ef5646d v8.1.1867
patch 8.1.1867: still a timer test that is flaky on Mac
commit https://github.com/vim/vim/commit/315244d85b9b8faae549b1700e8cc2e45eaa68ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 13:18:16 2019 +0200
patch 8.1.1867: still a timer test that is flaky on Mac
Problem: Still a timer test that is flaky on Mac.
Solution: Loop with a sleep instead of one fixed sleep.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 13:30: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