From: Simon Glass <simon.glass@canonical.com> Test declarations should immediately follow the closing brace of the function they declare, with no blank line in between. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org> --- CLAUDE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index ca0571ecef8..b2590b17fab 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -72,3 +72,5 @@ pyt <test_name> - Keep commit messages concise - focus on the key change and essential details only - Code should be formatted to 80 columns and not have trailing spaces - Remember to use Co-developed-by instead of Co-Authored-By in commits +- Test declarations (e.g., UNIT_TEST macro) should immediately follow the + closing } of the function they declare, with no blank line in between -- 2.43.0