diff --git a/.clang-format b/.clang-format index 19115a1d..dd0f031d 100644 --- a/.clang-format +++ b/.clang-format @@ -74,6 +74,7 @@ ForEachMacros: - tp_for_each_touch - range_for_each - litest_log_group + - litest_with_logcapture - litest_with_parameters - litest_with_event_frame - udev_list_entry_foreach diff --git a/test/test-keyboard.c b/test/test-keyboard.c index 1b002acd..e76c58f7 100644 --- a/test/test-keyboard.c +++ b/test/test-keyboard.c @@ -531,8 +531,7 @@ START_TEST(keyboard_keycode_obfuscation) litest_drain_events(li); - litest_with_logcapture(li, capture) - { + litest_with_logcapture(li, capture) { litest_event(dev, EV_KEY, KEY_Q, 1); litest_event(dev, EV_SYN, SYN_REPORT, 0); litest_event(dev, EV_KEY, KEY_Q, 0);