From c2f232260fa51ebb246ea46f89b53d290e97692c Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Thu, 31 Oct 2024 18:24:28 -0400 Subject: [PATCH] Exclude skipped line --- test/test_nist_cavs_detail.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_nist_cavs_detail.hpp b/test/test_nist_cavs_detail.hpp index 3d55e4a..61480c2 100644 --- a/test/test_nist_cavs_detail.hpp +++ b/test/test_nist_cavs_detail.hpp @@ -816,7 +816,8 @@ auto test_vectors_monte_xof(const nist::cavs::test_vector_container_type& test_v for (auto& val : MDi) { - val = static_cast(0); + // LCOV skips the following line even though MDi is not empty + val = static_cast(0); // LCOV_EXCL_LINE } const auto output_length = this_hash.get_digest(MDi);