diff --git a/lua/tests/helpers.lua b/lua/tests/helpers.lua index 3d078f59..5b435fab 100644 --- a/lua/tests/helpers.lua +++ b/lua/tests/helpers.lua @@ -305,6 +305,9 @@ local function infoview_check(list) this_info.prev_check = check end + -- make sure all specified infoviews were hit + for id, check in pairs(list) do assert.are_equal(check, infoview._by_id[id].prev_check) end + assert.update_wins(opened_wins, closed_wins) return true