Skip to content

Commit 1df6666

Browse files
lyakhlgirdwood
authored andcommitted
vmh: (cosmetic) fix formatting
Merge needlessly split lines and remove superfluous braces. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 1615d73 commit 1df6666

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

zephyr/test/vmh.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ static void test_vmh_init_and_free_heap(struct vmh_heap_config *config,
2525
bool expect_success)
2626
{
2727
struct vmh_heap *heap = vmh_init_heap(config, allocating_continuously);
28-
if (expect_success) {
29-
zassert_not_null(heap,
30-
"Heap initialization expected to succeed but failed");
31-
}
28+
if (expect_success)
29+
zassert_not_null(heap, "Heap initialization expected to succeed but failed");
3230
else
3331
zassert_is_null(heap, "Heap initialization expected to fail but succeeded");
3432

0 commit comments

Comments
 (0)