remove dangling spaces

This commit is contained in:
mrdudz
2022-04-17 16:07:52 +02:00
parent b54fb2dfd1
commit 9d3cdc5a10
89 changed files with 459 additions and 459 deletions

View File

@@ -11,7 +11,7 @@ TEST
{
unsigned i;
char* p;
for (i=0; i < SourceStringSize; ++i)
SourceString[i] = (i%128)+1;
@@ -23,13 +23,13 @@ TEST
DestinationString[0] = 0;
ASSERT_AreEqual(0, strlen(DestinationString), "%u", "Destination string initialization or 'strlen()' problem!");
/* Test "unlimted" concatenation to empty buffer */
strncat(DestinationString, SourceString, 1024);
ASSERT_AreEqual(SourceStringSize, strlen(DestinationString), "%u", "Unexpected string length while string concatenation to empty buffer!");
/* Test limited concatenation to non empty buffer */
p = strncat(DestinationString, SourceString, 128);