From 6ff8c6e7f337d3388aa3cf2763b169f4d08f04cf Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 14 Mar 2019 18:58:16 -0700 Subject: [PATCH] unittest fix --- test/IXSocketTest.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/IXSocketTest.cpp b/test/IXSocketTest.cpp index 0703f1f5..e03bcb7a 100644 --- a/test/IXSocketTest.cpp +++ b/test/IXSocketTest.cpp @@ -33,16 +33,15 @@ namespace ix Logger() << "errMsg: " << errMsg; REQUIRE(success); - std::cout << "Sending request: " << request - << "to " << host << ":" << port - << std::endl; + Logger() << "Sending request: " << request + << "to " << host << ":" << port; REQUIRE(socket->writeBytes(request, isCancellationRequested)); auto lineResult = socket->readLine(isCancellationRequested); auto lineValid = lineResult.first; auto line = lineResult.second; - std::cout << "read error: " << strerror(Socket::getErrno()) << std::endl; + Logger() << "read error: " << strerror(Socket::getErrno()); REQUIRE(lineValid);