mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
@@ -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() */
|
||||
|
||||
Reference in New Issue
Block a user