From 77e610f5a52d5ae956cb580253c309fb32012fa4 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 24 Nov 2021 17:14:20 +0100 Subject: [PATCH] fixing tests to run on rhel7 --- slsSupportLib/tests/test-network_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsSupportLib/tests/test-network_utils.cpp b/slsSupportLib/tests/test-network_utils.cpp index 0035a6cca..e6bea6af0 100644 --- a/slsSupportLib/tests/test-network_utils.cpp +++ b/slsSupportLib/tests/test-network_utils.cpp @@ -115,7 +115,7 @@ TEST_CASE("Copy construct a MacAddr") { } 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{}; REQUIRE(dst.entry == 0); REQUIRE(dst.port == 0);