From 977cf52322ab3ca93125423a0f9e9b3eca0516d7 Mon Sep 17 00:00:00 2001 From: Julian Kent Date: Fri, 22 Jan 2021 17:26:21 +0100 Subject: [PATCH] Ignore debug line in code coverage --- test/matrixAssignment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/matrixAssignment.cpp b/test/matrixAssignment.cpp index c3844c769e..6e5a0783c6 100644 --- a/test/matrixAssignment.cpp +++ b/test/matrixAssignment.cpp @@ -226,7 +226,7 @@ int main() printf("%s\n", output); // for debugging in case of failure for (size_t i = 0; i < len; i++) { if(buffer[i] != output[i]) { // for debugging in case of failure - printf("%d: \"%c\" != \"%c\"", int(i), buffer[i], output[i]); + printf("%d: \"%c\" != \"%c\"", int(i), buffer[i], output[i]); // LCOV_EXCL_LINE only print on failure } TEST(buffer[i] == output[i]); if (buffer[i] == '\0') {