Skip to content

Commit

Permalink
update action and fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martelkr committed Dec 25, 2023
1 parent 73a9fdb commit 0152bc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions test/Testcppsocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<int>(TEST_STRING2.length()));

std::cout << "Server sent: " << TEST_STRING2 << std::endl;
Expand Down

0 comments on commit 0152bc6

Please sign in to comment.