diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-20 16:39:48 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-21 07:34:05 -0400 |
commit | 13a6878d187612721baecede181e7dfdc3699a59 (patch) | |
tree | c8ea47373d455b177e42ef69076fad1b45fe32f5 | |
parent | 60415a5d3a0fec6fc42a900aba15943b3d1730cd (diff) | |
download | rneovim-13a6878d187612721baecede181e7dfdc3699a59.tar.gz rneovim-13a6878d187612721baecede181e7dfdc3699a59.tar.bz2 rneovim-13a6878d187612721baecede181e7dfdc3699a59.zip |
vim-patch:8.1.2190: syntax test fails on Mac
Problem: Syntax test fails on Mac.
Solution: Limit the window size to 20 rows.
https://github.com/vim/vim/commit/83e9a1ce75818a78c5ddf8dcfb820634ca6fabff
-rw-r--r-- | src/nvim/testdir/test_syntax.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim index c2025b36e0..6cada1503f 100644 --- a/src/nvim/testdir/test_syntax.vim +++ b/src/nvim/testdir/test_syntax.vim @@ -502,9 +502,7 @@ func Test_syntax_c() endif call writefile([ \ '/* comment line at the top */', - \ ' int', - \ 'main(int argc, char **argv)// another comment', - \ '{', + \ 'int main(int argc, char **argv) { // another comment', \ '#if 0', \ ' int not_used;', \ '#else', @@ -527,7 +525,7 @@ func Test_syntax_c() " response to t_RB corrects it to "light". let $COLORFGBG = '15;0' - let buf = RunVimInTerminal('Xtest.c', #{rows: 22}) + let buf = RunVimInTerminal('Xtest.c', {}) call term_sendkeys(buf, ":syn keyword Search Note\r") call VerifyScreenDump(buf, 'Test_syntax_c_01', {}) call StopVimInTerminal(buf) |