diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 3e2b84094e..f227577444 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -551,7 +551,7 @@ function Screen:expect(expected, attr_ids, ...) end local actual_rows - if expected.any or grid then + if expected.any or expected.none or grid then actual_rows = self:render(not (expected.any or expected.none), attr_state) end