diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 9c2778d..625cd54 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -31,5 +31,5 @@ jobs: - name: Run clang-tidy run: | cmake -B ${{github.workspace}}/build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - clang-tidy -p ${{github.workspace}}/build inc/cppsocket.hpp test/Testcppsocket.cpp + clang-tidy -p ${{github.workspace}}/build -header-filter=.* inc/cppsocket.hpp test/Testcppsocket.cpp diff --git a/test/Testcppsocket.cpp b/test/Testcppsocket.cpp index 22eee3b..937785f 100644 --- a/test/Testcppsocket.cpp +++ b/test/Testcppsocket.cpp @@ -27,7 +27,6 @@ static int gargc{0}; static char** gargv = nullptr; #endif -using com::github::socket::Socket; using com::github::socket::TcpClient; using com::github::socket::TcpServer; using com::github::socket::UdpClient; @@ -140,7 +139,6 @@ TEST(Unsecure, UDP) ASSERT_EQ(TEST_STRING1.compare(buffer.data()), 0); ret = server.send(TEST_STRING2.c_str(), TEST_STRING2.length()); - std::cout << ret << ":" << strerror(errno) << std::endl; ASSERT_EQ(ret, static_cast(TEST_STRING2.length())); std::cout << "Server sent: " << TEST_STRING2 << std::endl;