Skip to content

Commit

Permalink
Unit test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gansm committed Aug 21, 2023
1 parent 8b10a07 commit 11a78fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/eventloop-monitor-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ void EventloopMonitorTest::IoMonitorTest()
std::cout << "\nIoMonitor callback handle";
uint8_t buf{0};
const auto bytes = ::read(mon->getFileDescriptor(), &buf, 1);
std::cout << "\nBytes: " << bytes << " read \n";
CPPUNIT_ASSERT ( bytes == 1 );
CPPUNIT_ASSERT ( buf == 'A' );
eloop.leave();
Expand Down

0 comments on commit 11a78fe

Please sign in to comment.