Skip to content

Commit

Permalink
test: drop two superfluous empty queue checks
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed May 31, 2017
1 parent 3108653 commit e0ac015
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ START_TEST(device_disable_release_buttons)

litest_button_click(dev, BTN_LEFT, true);
litest_drain_events(li);
litest_assert_empty_queue(li);

status = libinput_device_config_send_events_set_mode(device,
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED);
Expand Down Expand Up @@ -516,7 +515,6 @@ START_TEST(device_disable_release_keys)

litest_button_click(dev, KEY_A, true);
litest_drain_events(li);
litest_assert_empty_queue(li);

status = libinput_device_config_send_events_set_mode(device,
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED);
Expand Down

0 comments on commit e0ac015

Please sign in to comment.