test: move a comment to avoid confusing clang-format

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1246>
This commit is contained in:
Peter Hutterer 2025-07-01 10:23:09 +10:00
parent c83bd808ae
commit 45ab542cc3

View file

@ -408,11 +408,11 @@ litest_runner_test_collect_child(struct litest_runner_test *t)
case LITEST_TIMEOUT:
case LITEST_SYSTEM_ERROR:
break;
/* if a test execve's itself allow for the normal
* exit codes to map to the results */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch"
case 0:
/* if a test execve's itself allow for the normal
* exit codes to map to the results */
t->result = LITEST_PASS;
break;
#pragma GCC diagnostic pop