test: replace a litest button with a litest key call

Same thing under the hood but still...

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-11-20 10:58:00 +10:00
parent 3fea53c3a9
commit f35bb9760e

View file

@ -497,7 +497,7 @@ START_TEST(device_disable_release_keys)
device = dev->libinput_device;
litest_button_click_debounced(dev, li, KEY_A, true);
litest_keyboard_key(dev, KEY_A, true);
litest_drain_events(li);
status = libinput_device_config_send_events_set_mode(device,