mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 21:30:36 +01:00
test: fix udev prop test for apple touchpads
Clearly a copy/paste error. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c71bb83cd9
commit
41f880a217
1 changed files with 2 additions and 2 deletions
|
|
@ -1190,9 +1190,9 @@ START_TEST(device_udev_tag_apple)
|
|||
|
||||
d = libinput_device_get_udev_device(device);
|
||||
prop = udev_device_get_property_value(d,
|
||||
"LIBINPUT_MODEL_WACOM_TOUCHPAD");
|
||||
"LIBINPUT_MODEL_APPLE_TOUCHPAD");
|
||||
|
||||
if (libevdev_get_id_vendor(dev->evdev) == VENDOR_ID_WACOM)
|
||||
if (libevdev_get_id_vendor(dev->evdev) == VENDOR_ID_APPLE)
|
||||
ck_assert_notnull(prop);
|
||||
else
|
||||
ck_assert(prop == NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue