only:Simulator/win10/gcc12.2.0 assertString FAILED fix #5682
This commit is contained in:
parent
cadd268190
commit
61909b2f4e
|
@ -86,7 +86,9 @@ static void runChprintfTest() {
|
|||
{
|
||||
LoggingWithStorage testLogging("test");
|
||||
testLogging.appendPrintf( "a%.2fb%fc", -1.2, -3.4);
|
||||
assertString(testLogging.buffer, "a-1.20b-3.400000095c");
|
||||
// different compilers produce different 8th digit
|
||||
testLogging.buffer[strlen(testLogging.buffer) - 1] = 'X';
|
||||
assertString(testLogging.buffer, "a-1.20b-3.400000095X");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue