From d937702e7623fff4b5c737f199dbafe744668cf7 Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Tue, 24 Oct 2023 11:15:11 +0200 Subject: [PATCH] style: run clang-format --- tests/z_modular_test.c | 3 ++- tests/z_msgcodec_test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/z_modular_test.c b/tests/z_modular_test.c index e5ea32b26..87a7b005c 100644 --- a/tests/z_modular_test.c +++ b/tests/z_modular_test.c @@ -134,7 +134,8 @@ void query_handler(const z_query_t *query, void *ctx) { } z_query_reply_options_t options = z_query_reply_options_default(); options.encoding = z_encoding(Z_ENCODING_PREFIX_TEXT_PLAIN, NULL); - z_query_reply(query, z_keyexpr(queryable_keyexpr), (const unsigned char *)queryable_value, strlen(queryable_value), &options); + z_query_reply(query, z_keyexpr(queryable_keyexpr), (const unsigned char *)queryable_value, strlen(queryable_value), + &options); z_drop(z_move(keystr)); } #endif diff --git a/tests/z_msgcodec_test.c b/tests/z_msgcodec_test.c index 98ae720b9..5d20469df 100644 --- a/tests/z_msgcodec_test.c +++ b/tests/z_msgcodec_test.c @@ -187,7 +187,7 @@ _z_bytes_t gen_bytes(size_t len) { arr.start = (uint8_t *)z_malloc(sizeof(uint8_t) * len); for (_z_zint_t i = 0; i < len; i++) { - ((uint8_t *)arr.start)[i] = gen_uint8() & 0x7f; // 0b01111111 + ((uint8_t *)arr.start)[i] = gen_uint8() & 0x7f; // 0b01111111 } return arr;