patch 8.0.1601: highlight test fails on Win32
Problem: Highlight test fails on Win32.
Solution: Check for vtp and vcon support.
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim
index 0c4be7b..1e8efea 100644
--- a/src/testdir/test_highlight.vim
+++ b/src/testdir/test_highlight.vim
@@ -519,6 +519,11 @@
if !exists('+termguicolors')
return
endif
+ if has('vtp') && !has('vcon')
+ " Win32: 'guicolors' doesn't work without virtual console.
+ call assert_fails('set termguicolors', 'E954:')
+ return
+ endif
" Basic test that setting 'termguicolors' works with one color.
set termguicolors