diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-03-26 21:23:36 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2024-03-26 21:28:05 +0100 |
commit | 35f2bb05a5cb84af405a094f040b92461a824e61 (patch) | |
tree | 157ba34b5e8673092405b9b3dfd70bcba180590e /test/functional/ui/screen_basic_spec.lua | |
parent | 0c0be09eab66975e62c67522620fee10f82663d2 (diff) | |
download | rneovim-35f2bb05a5cb84af405a094f040b92461a824e61.tar.gz rneovim-35f2bb05a5cb84af405a094f040b92461a824e61.tar.bz2 rneovim-35f2bb05a5cb84af405a094f040b92461a824e61.zip |
refactor(tests): use new global defaults instead of set_default_attr_ids
This will be done in batches.
Diffstat (limited to 'test/functional/ui/screen_basic_spec.lua')
-rw-r--r-- | test/functional/ui/screen_basic_spec.lua | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/functional/ui/screen_basic_spec.lua b/test/functional/ui/screen_basic_spec.lua index 42e2b4d4b5..adb1fd31f4 100644 --- a/test/functional/ui/screen_basic_spec.lua +++ b/test/functional/ui/screen_basic_spec.lua @@ -27,17 +27,13 @@ describe('screen', function() set_session(screen_nvim) screen = Screen.new() screen:attach() - screen:set_default_attr_ids({ - [0] = { bold = true, foreground = 255 }, - [1] = { bold = true, reverse = true }, - }) end) it('default initial screen', function() screen:expect([[ ^ | - {0:~ }|*11 - {1:[No Name] }| + {1:~ }|*11 + {3:[No Name] }| | ]]) end) @@ -811,9 +807,6 @@ end) it("showcmd doesn't cause empty grid_line with redrawdebug=compositor #22593", function() clear() local screen = Screen.new(30, 2) - screen:set_default_attr_ids({ - [0] = { bold = true, foreground = Screen.colors.Blue }, - }) screen:attach() command('set showcmd redrawdebug=compositor') feed('d') |