From 2f295c411dbbdcd712dcd2cbabe942704a210aea Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Wed, 7 Jun 2023 07:25:10 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Boris Zbarsky --- src/app/tests/TestEventLogging.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/tests/TestEventLogging.cpp b/src/app/tests/TestEventLogging.cpp index 6de19a6235b46e..221dd3d9f1ff9f 100644 --- a/src/app/tests/TestEventLogging.cpp +++ b/src/app/tests/TestEventLogging.cpp @@ -160,10 +160,9 @@ static void CheckLogReadOut(nlTestSuite * apSuite, chip::app::EventManagement & // hard-coded logic of this unit test. // The size of TLV-encoded event can vary depending on the UTC vs system time controlled by // the CHIP_DEVICE_CONFIG_EVENT_LOGGING_UTC_TIMESTAMPS, because the relative system time - // will be most likely encoded on 1 byte, while the UTC time will be encoded on 8 bytes. + // will be most likely encoded in 1 byte, while the UTC time will be encoded in 8 bytes. NL_TEST_ASSERT(apSuite, sizeof(gDebugEventBuffer) >= eventTLVSize * 3 && sizeof(gDebugEventBuffer) < eventTLVSize * 4); - printf("length written : %u \n", static_cast(writer.GetLengthWritten())); reader.Init(backingStore.Get(), writer.GetLengthWritten()); err = chip::TLV::Utilities::Count(reader, totalNumElements, false);