diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-22 14:03:38 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-23 13:03:39 +1000 |
commit | 3f6b97d4c4c700b8c22988ed551fa199330d2b59 (patch) | |
tree | f0ff2e469762442b943e4c74c9521ec637d2bf84 /test | |
parent | 78a810cfd506fdba2859b6c87f6c1a6f42050c00 (diff) |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/test-lid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lid.c b/test/test-lid.c index 258f8e3..5254222 100644 --- a/test/test-lid.c +++ b/test/test-lid.c @@ -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); |