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:
Peter Hutterer 2018-05-25 13:17:34 +10:00
parent c71bb83cd9
commit 41f880a217

View file

@ -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);