mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 19:50:09 +01:00
test: improve an error message for an unlikely error
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1204>
This commit is contained in:
parent
d5cd398b77
commit
15b4ea59e9
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ pick_stylus_or_btn0(struct litest_device *dev)
|
|||
if (libevdev_has_event_code(dev->evdev, EV_KEY, BTN_0))
|
||||
return BTN_0; /* totem */
|
||||
|
||||
abort();
|
||||
litest_abort_msg("Device has neither BTN_STYLUS nor BTN_0");
|
||||
}
|
||||
|
||||
START_TEST(button_down_up)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue