From b556bd1a535d39418b75fe5403e8f117f7f3166c Mon Sep 17 00:00:00 2001 From: bfredl Date: Wed, 27 Mar 2024 10:35:50 +0100 Subject: refactor(tests): use global defaults instead of set_default_attr_ids (2) --- test/functional/legacy/window_cmd_spec.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/functional/legacy/window_cmd_spec.lua') diff --git a/test/functional/legacy/window_cmd_spec.lua b/test/functional/legacy/window_cmd_spec.lua index 3cd3a69239..8482bf34f7 100644 --- a/test/functional/legacy/window_cmd_spec.lua +++ b/test/functional/legacy/window_cmd_spec.lua @@ -10,9 +10,6 @@ local feed = helpers.feed it('scrolling with laststatus=0 and :botright split', function() clear('--cmd', 'set ruler') local screen = Screen.new(40, 10) - screen:set_default_attr_ids({ - [1] = { reverse = true }, -- StatusLineNC - }) screen:attach() exec([[ set laststatus=0 @@ -25,7 +22,7 @@ it('scrolling with laststatus=0 and :botright split', function() 98 | 99 | 100 | - {1:[No Name] [+] 100,1 Bot}| + {2:[No Name] [+] 100,1 Bot}| 97 | 98 | 99 | -- cgit