From 7a4fc37f264cdb67f2f83fa92703c869215bbc86 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Sep 2021 13:32:30 +0300 Subject: Fortify tests against NDEBUG --- tests/sha256/driver.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/sha256') diff --git a/tests/sha256/driver.cxx b/tests/sha256/driver.cxx index 2946755..3d2f69e 100644 --- a/tests/sha256/driver.cxx +++ b/tests/sha256/driver.cxx @@ -1,8 +1,6 @@ // file : tests/sha256/driver.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#include - #ifndef __cpp_lib_modules_ts #include #include // size_t @@ -25,6 +23,9 @@ import butl.filesystem; #include // auto_rmfile #endif +#undef NDEBUG +#include + using namespace std; using namespace butl; -- cgit v1.1