Wrap long lines to fit within 80 columns across the codebase
Pure whitespace/line-break reformatting (braces, newlines, and line continuations matching this codebase's existing wrap conventions) - no logic, string content, or identifiers changed anywhere. Confirmed via diff against the pre-change tree and by rebuilding + re-running the affected test suites, which produce identical pass/fail results. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -207,7 +207,11 @@ static void test_stringFormat(void **state) {
|
||||
|
||||
// Test buffer too small
|
||||
expect_assert_failure(stringFormat(buffer, 5, "This is too long"));
|
||||
expect_assert_failure(stringFormat(buffer, sizeof(buffer), "Hello %s", "This string is way too long to fit within the buffer that we have allocated"));
|
||||
expect_assert_failure(stringFormat(
|
||||
buffer, sizeof(buffer), "Hello %s",
|
||||
"This string is way too long to fit within the buffer that we have "
|
||||
"allocated"
|
||||
));
|
||||
|
||||
// Test NULL destination, simply returns required length
|
||||
len = stringFormat(NULL, 0, "Hello %s!", "World");
|
||||
|
||||
Reference in New Issue
Block a user