Mercurial > vim
view src/testdir/test_recover.vim @ 11119:d8a550329a97 v8.0.0447
patch 8.0.0447: getting font name does not work on X11
commit https://github.com/vim/vim/commit/8774845ce1a7def122ea07c057a79417f3be3d17
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 17:10:33 2017 +0100
patch 8.0.0447: getting font name does not work on X11
Problem: Getting font name does not work on X11.
Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
(Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 17:15:04 +0100 |
parents | cc3f6ad092c2 |
children | 0cafb01af1b6 |
line wrap: on
line source
" Test :recover func Test_recover_root_dir() " This used to access invalid memory. split Xtest set dir=/ call assert_fails('recover', 'E305:') close! if has('win32') " can write in / directory on MS-Windows set dir=/notexist/ endif call assert_fails('split Xtest', 'E303:') set dir& endfunc " TODO: move recover tests from test78.in to here.