Mercurial > vim
comparison src/testdir/runtest.vim @ 29587:d70f588baaa1 v9.0.0134
patch 9.0.0134: no test for text property with column zero
Commit: https://github.com/vim/vim/commit/f05a1e59a3df759667f2082cf42368945c57e389
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 2 11:48:53 2022 +0100
patch 9.0.0134: no test for text property with column zero
Problem: No test for text property with column zero.
Solution: Add a test. Add message to assert for no open popups.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Aug 2022 13:00:06 +0200 |
parents | 9dce192d1ac2 |
children | 72c8fbb9e242 |
comparison
equal
deleted
inserted
replaced
29586:41a11f07d54d | 29587:d70f588baaa1 |
---|---|
243 au! | 243 au! |
244 au SwapExists * call HandleSwapExists() | 244 au SwapExists * call HandleSwapExists() |
245 | 245 |
246 " Check for and close any stray popup windows. | 246 " Check for and close any stray popup windows. |
247 if has('popupwin') | 247 if has('popupwin') |
248 call assert_equal([], popup_list()) | 248 call assert_equal([], popup_list(), 'Popup is still present') |
249 call popup_clear(1) | 249 call popup_clear(1) |
250 endif | 250 endif |
251 | 251 |
252 if filereadable('guidialogfile') | 252 if filereadable('guidialogfile') |
253 call add(v:errors, "Unexpected dialog: " .. readfile('guidialogfile')->join('<NL>')) | 253 call add(v:errors, "Unexpected dialog: " .. readfile('guidialogfile')->join('<NL>')) |