diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-24 14:38:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-24 14:38:51 +0100 |
commit | b7ea7cb8e430ea096b4c452cdc9c3299819e6d6b (patch) | |
tree | 605f285de5f53d3998bd9b3f7a0734bf8181dafe /src/testdir/screendump.vim | |
parent | 674e482d1346aa1afddab62675f3a7d7a00a4894 (diff) | |
download | vim-git-b7ea7cb8e430ea096b4c452cdc9c3299819e6d6b.tar.gz |
patch 8.0.1534: C syntax test fails when using gvimv8.0.1534
Problem: C syntax test fails when using gvim
Solution: Force running in a terminal. Check that 'background' is correct
even when $COLORFGBG is set.
Diffstat (limited to 'src/testdir/screendump.vim')
-rw-r--r-- | src/testdir/screendump.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/screendump.vim b/src/testdir/screendump.vim index 5131b935a..5ebe60908 100644 --- a/src/testdir/screendump.vim +++ b/src/testdir/screendump.vim @@ -24,7 +24,8 @@ func RunVimInTerminal(arguments, options) hi Normal ctermfg=0 ctermbg=15 let cmd = GetVimCommandClean() - let cmd .= ' ' . a:arguments + " Add -v to have gvim run in the terminal (if possible) + let cmd .= ' -v ' . a:arguments let buf = term_start(cmd, {'curwin': 1, 'term_rows': 20, 'term_cols': 75}) call assert_equal([20, 75], term_getsize(buf)) |