diff options
author | Stéphane Campinas <stephane.campinas@gmail.com> | 2016-09-11 15:03:22 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-09-16 14:02:59 +0200 |
commit | 21eee40cdbe77d4d2095db14b5b7f8de27a5ae52 (patch) | |
tree | 46a6e86bb1707aa059ad314a579761f263846c37 /test/functional/terminal/highlight_spec.lua | |
parent | bc1a5db6cc103f125a3705970d0018fb145aca4a (diff) | |
download | rneovim-21eee40cdbe77d4d2095db14b5b7f8de27a5ae52.tar.gz rneovim-21eee40cdbe77d4d2095db14b5b7f8de27a5ae52.tar.bz2 rneovim-21eee40cdbe77d4d2095db14b5b7f8de27a5ae52.zip |
test: synIDattr returns empty, not -1
- Behavior changed in 7.4.1547
- Also removed N/A specs: nvim does not support ":hi term=..."
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
-rw-r--r-- | test/functional/terminal/highlight_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua index b3ac60314f..377f335c5c 100644 --- a/test/functional/terminal/highlight_spec.lua +++ b/test/functional/terminal/highlight_spec.lua @@ -172,8 +172,8 @@ describe('synIDattr()', function() it('returns cterm-color if RGB-capable UI is _not_ attached', function() eq('252', eval('synIDattr(hlID("Normal"), "fg")')) eq('252', eval('synIDattr(hlID("Normal"), "fg#")')) - eq('-1', eval('synIDattr(hlID("Normal"), "bg")')) - eq('-1', eval('synIDattr(hlID("Normal"), "bg#")')) + eq('', eval('synIDattr(hlID("Normal"), "bg")')) + eq('', eval('synIDattr(hlID("Normal"), "bg#")')) eq('79', eval('synIDattr(hlID("Keyword"), "fg")')) eq('79', eval('synIDattr(hlID("Keyword"), "fg#")')) eq('', eval('synIDattr(hlID("Keyword"), "sp")')) |