test no lookies

This commit is contained in:
Ottatop 2024-06-23 20:17:37 -05:00
parent 036380c592
commit eb333cb4c6

View file

@ -571,6 +571,12 @@ mod output {
local focus_stack = Pinnacle.output.get_focused():keyboard_focus_stack()
assert(#focus_stack == 5, "focus stack len != 5")
print(focus_stack[1].id)
print(focus_stack[2].id)
print(focus_stack[3].id)
print(focus_stack[4].id)
print(focus_stack[5].id)
// FIXME: the below statement failed in github CI, idk why
assert(focus_stack[1].id == 0, "focus stack at 1 id != 0")
assert(focus_stack[2].id == 1, "focus stack at 2 id != 1")
assert(focus_stack[3].id == 2, "focus stack at 3 id != 2")