mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 00:30:26 +01:00
test: fix a lid test
We were checking for the empty queue on the wrong context, the default context got drained a few lines above. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
78a810cfd5
commit
3f6b97d4c4
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ START_TEST(lid_update_hw_on_key)
|
|||
LIBINPUT_SWITCH_LID,
|
||||
LIBINPUT_SWITCH_STATE_OFF);
|
||||
libinput_event_destroy(event);
|
||||
litest_assert_empty_queue(li);
|
||||
litest_assert_empty_queue(li2);
|
||||
|
||||
libinput_unref(li2);
|
||||
litest_delete_device(keyboard);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue