diff options
author | Gregory Anders <greg@gpanders.com> | 2023-11-07 11:31:21 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-11-13 19:04:47 -0600 |
commit | 8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe (patch) | |
tree | 5872a66135c1250a32da15b981bb36118e58d347 /test | |
parent | ab102f188e86bdbfce1d4de2ef633092a906e8fe (diff) | |
download | rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.tar.gz rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.tar.bz2 rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.zip |
docs: deprecate the "term_background" UI field
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/api/ui_spec.lua | 2 | ||||
-rw-r--r-- | test/functional/ui/options_spec.lua | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/test/functional/api/ui_spec.lua b/test/functional/api/ui_spec.lua index a668d47448..6efb6726fe 100644 --- a/test/functional/api/ui_spec.lua +++ b/test/functional/api/ui_spec.lua @@ -36,8 +36,6 @@ describe('nvim_ui_attach()', function() pcall_err(meths.ui_attach, 80, 24, { term_name=true })) eq("Invalid 'term_colors': expected Integer, got Boolean", pcall_err(meths.ui_attach, 80, 24, { term_colors=true })) - eq("Invalid 'term_background': expected String, got Boolean", - pcall_err(meths.ui_attach, 80, 24, { term_background=true })) eq("Invalid 'stdin_fd': expected Integer, got String", pcall_err(meths.ui_attach, 80, 24, { stdin_fd='foo' })) eq("Invalid 'stdin_tty': expected Boolean, got String", diff --git a/test/functional/ui/options_spec.lua b/test/functional/ui/options_spec.lua index f3817856f7..6af1820430 100644 --- a/test/functional/ui/options_spec.lua +++ b/test/functional/ui/options_spec.lua @@ -210,22 +210,6 @@ describe('UI can set terminal option', function() screen = Screen.new(20,5) end) - it('term_background', function() - eq('dark', eval '&background') - - screen:attach {term_background='light'} - eq('light', eval '&background') - end) - - it("term_background but not if 'background' already set by user", function() - eq('dark', eval '&background') - command 'set background=dark' - - screen:attach {term_background='light'} - - eq('dark', eval '&background') - end) - it('term_name', function() eq('nvim', eval '&term') |