From 436b36b3427485a96d93230e355b1b373e583bbb Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 20 Mar 2026 17:20:05 +0100 Subject: [PATCH] vmh: (cosmetic) fix formatting Merge needlessly split lines and remove superfluous braces. Signed-off-by: Guennadi Liakhovetski --- zephyr/test/vmh.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zephyr/test/vmh.c b/zephyr/test/vmh.c index 4a1b7365c4be..abb00b561b3d 100644 --- a/zephyr/test/vmh.c +++ b/zephyr/test/vmh.c @@ -25,10 +25,8 @@ static void test_vmh_init_and_free_heap(struct vmh_heap_config *config, bool expect_success) { struct vmh_heap *heap = vmh_init_heap(config, allocating_continuously); - if (expect_success) { - zassert_not_null(heap, - "Heap initialization expected to succeed but failed"); - } + if (expect_success) + zassert_not_null(heap, "Heap initialization expected to succeed but failed"); else zassert_is_null(heap, "Heap initialization expected to fail but succeeded");