diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-22 07:57:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-26 18:51:49 -0600 |
commit | b073d48e8dd7d178ebd237089be730d15c72ddfc (patch) | |
tree | abc9d5842979f4c495528da9cf08ca2f26ee8554 /test/lib/hexdump.c | |
parent | 725c438c6271f1870636f61a68d6904dc27a1357 (diff) |
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>
Diffstat (limited to 'test/lib/hexdump.c')
-rw-r--r-- | test/lib/hexdump.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/lib/hexdump.c b/test/lib/hexdump.c index d531a830398..7b4592d175f 100644 --- a/test/lib/hexdump.c +++ b/test/lib/hexdump.c @@ -31,7 +31,6 @@ static int lib_test_hex_to_bin(struct unit_test_state *uts) return 0; } - LIB_TEST(lib_test_hex_to_bin, 0); static int lib_test_hex2bin(struct unit_test_state *uts) @@ -61,7 +60,6 @@ static int lib_test_hex2bin(struct unit_test_state *uts) return 0; } - LIB_TEST(lib_test_hex2bin, 0); static int lib_test_bin2hex(struct unit_test_state *uts) @@ -91,5 +89,4 @@ static int lib_test_bin2hex(struct unit_test_state *uts) return 0; } - LIB_TEST(lib_test_bin2hex, 0); |