test: Drop the blank line before test macros

Most tests don't have this. It helps to keep the test declaration
clearly associated with the function it relates to, rather than the next
one in the file. Remove the extra blank line and mention this in the
docs.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2024-08-22 07:57:49 -06:00 committed by Tom Rini
parent 725c438c62
commit b073d48e8d
64 changed files with 4 additions and 95 deletions

View file

@ -93,7 +93,6 @@ static int lib_memset(struct unit_test_state *uts)
}
return 0;
}
LIB_TEST(lib_memset, 0);
/**
@ -157,7 +156,6 @@ static int lib_memcpy(struct unit_test_state *uts)
}
return 0;
}
LIB_TEST(lib_memcpy, 0);
/**
@ -192,7 +190,6 @@ static int lib_memmove(struct unit_test_state *uts)
}
return 0;
}
LIB_TEST(lib_memmove, 0);
/** lib_memdup() - unit test for memdup() */