diff options
| author | James McCoy <jamessan@jamessan.com> | 2021-12-09 21:29:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-09 21:29:15 -0500 |
| commit | ac2d140a33dfe88f882218e15a443b8300cca6b2 (patch) | |
| tree | e2b724239fa4105e04c15ff964da033a82afa369 /src/nvim/testdir/test_highlight.vim | |
| parent | 238da85126c5a1dee03a75b6023a36a9a3642dda (diff) | |
| parent | f3fb77c40262f47e30ebefec547f5c6f83ff58e6 (diff) | |
| download | rneovim-ac2d140a33dfe88f882218e15a443b8300cca6b2.tar.gz rneovim-ac2d140a33dfe88f882218e15a443b8300cca6b2.tar.bz2 rneovim-ac2d140a33dfe88f882218e15a443b8300cca6b2.zip | |
Merge pull request #16541 from jamessan/vim-8.2.3664
vim-patch:8.2.3664,8.2.3743,8.2.3747,8.2.3748,8.2.3757
Diffstat (limited to 'src/nvim/testdir/test_highlight.vim')
| -rw-r--r-- | src/nvim/testdir/test_highlight.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim index c38bfa5677..899eb530ec 100644 --- a/src/nvim/testdir/test_highlight.vim +++ b/src/nvim/testdir/test_highlight.vim @@ -661,6 +661,13 @@ function Test_no_space_before_xxx() let &columns = l:org_columns endfunction +" Test for :highlight command errors +func Test_highlight_cmd_errors() + if has('gui_running') || has('nvim') + call assert_fails('hi ' .. repeat('a', 201) .. ' ctermfg=black', 'E1249:') + endif +endfunc + " Test for using RGB color values in a highlight group func Test_xxlast_highlight_RGB_color() CheckCanRunGui |