From ee70ba351433d33ae4ea27dc08d0105d4a05f7aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Fri, 2 Apr 2021 13:13:47 +0200
Subject: [PATCH] Remove useless NDEBUG section

---
 tests/test_ItemValueUtils.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tests/test_ItemValueUtils.cpp b/tests/test_ItemValueUtils.cpp
index b20bc94ce..f54362188 100644
--- a/tests/test_ItemValueUtils.cpp
+++ b/tests/test_ItemValueUtils.cpp
@@ -238,11 +238,4 @@ TEST_CASE("ItemValueUtils", "[mesh]")
       REQUIRE(sum(node_value) == 3 * global_number_of_nodes);
     }
   }
-
-#ifndef NDEBUG
-  SECTION("checking for bounds violation")
-  {
-    //   REQUIRE_THROWS_AS(a[10], AssertError);
-  }
-#endif   // NDEBUG
 }
-- 
GitLab