Mercurial > vim
view src/testdir/test16.in @ 9618:81ba6e4eb72b v7.4.2086
commit https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 21 20:33:32 2016 +0200
patch 7.4.2086
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Jul 2016 20:45:06 +0200 |
parents | f2978794e801 |
children |
line wrap: on
line source
Tests for resetting "secure" flag after GUI has started. For KDE set a font, empty 'guifont' may cause a hang. STARTTEST :so small.vim :if $DISPLAY == "" | e! test.ok | wq! test.out | endif :set exrc secure :if has("gui_kde") : set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0 :endif :gui -f :.,$w! test.out :qa! ENDTEST just some text