fixing tests to run on rhel7

This commit is contained in:
maliakal_d 2021-11-24 17:14:20 +01:00
parent 0689c82e98
commit 77e610f5a5

View File

@ -115,7 +115,7 @@ TEST_CASE("Copy construct a MacAddr") {
} }
TEST_CASE("udp dst struct basic properties") { TEST_CASE("udp dst struct basic properties") {
static_assert(sizeof(UdpDestination) == 36); static_assert(sizeof(UdpDestination) == 36, "udpDestination struct size does not match");
UdpDestination dst{}; UdpDestination dst{};
REQUIRE(dst.entry == 0); REQUIRE(dst.entry == 0);
REQUIRE(dst.port == 0); REQUIRE(dst.port == 0);