scripts/check: run style check for test files

Co-authored-by: @johanmalm
This commit is contained in:
tokyo4j 2025-10-20 04:02:34 +09:00 committed by Hiroaki Yamamoto
parent d8260feef2
commit 261ec3c509
3 changed files with 8 additions and 2 deletions

View file

@ -68,7 +68,12 @@ test_buf_add_fmt(void **state)
static void
test_buf_add_char(void **state)
{
const char long_string[] = "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
static const char long_string[] =
"123456789012345678901234567890123456789012345678901234567890 "
"123456789012345678901234567890123456789012345678901234567890 "
"123456789012345678901234567890123456789012345678901234567890 "
"123456789012345678901234567890123456789012345678901234567890 "
"123456789012345678901234567890123456789012345678901234567890 ";
size_t len = strlen(long_string);
/*