mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-09 16:50:19 +01:00
test: fix tablet tool_id test to fail on unexpected ids
Found by coverity Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
92ce7b2f1f
commit
776c55f636
1 changed files with 2 additions and 0 deletions
|
|
@ -1922,6 +1922,8 @@ START_TEST(tool_id)
|
|||
case 0x333: /* Cintiq 13HD */
|
||||
tool_id = 2083;
|
||||
break;
|
||||
default:
|
||||
ck_abort();
|
||||
}
|
||||
|
||||
ck_assert(tool_id == libinput_tablet_tool_get_tool_id(tool));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue