mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 08:30:07 +01:00
test: print the event type on mismatch
We already have a helper function for this, let's use it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a0d842a640
commit
b8d4197697
1 changed files with 1 additions and 2 deletions
|
|
@ -3920,8 +3920,7 @@ litest_assert_only_typed_events(struct libinput *li,
|
|||
litest_assert_notnull(event);
|
||||
|
||||
while (event) {
|
||||
litest_assert_int_eq(libinput_event_get_type(event),
|
||||
type);
|
||||
litest_assert_event_type(event, type);
|
||||
libinput_event_destroy(event);
|
||||
libinput_dispatch(li);
|
||||
event = libinput_get_event(li);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue