diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-19 20:49:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-19 20:49:38 +0000 |
commit | 5b9f57262fdadf460e6355abf1eee95b4f96abe8 (patch) | |
tree | bab7c61f11518850386230bc0e57ac8aae3ffed3 /src/testdir/test_highlight.vim | |
parent | ea62cee85e9e77ec86edd9843926dadb69978753 (diff) |
patch 9.0.1328: error when using "none" for GUI color is confusingv9.0.1328
Problem: Error when using "none" for GUI color is confusing.
Solution: Mention that the name should perhaps be "NONE". (closes #1400)
Diffstat (limited to 'src/testdir/test_highlight.vim')
-rw-r--r-- | src/testdir/test_highlight.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim index 26426e05cb..feccf84b6c 100644 --- a/src/testdir/test_highlight.vim +++ b/src/testdir/test_highlight.vim @@ -46,6 +46,10 @@ func Test_highlight() call assert_equal("Group3 xxx cleared", \ split(execute("hi Group3"), "\n")[0]) call assert_fails("hi Crash term='asdf", "E475:") + + if has('gui_running') + call assert_fails('hi NotUsed guibg=none', 'E1361:') + endif endfunc func HighlightArgs(name) |