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/string-parser/driver.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/string-parser/driver.cxx') diff --git a/tests/string-parser/driver.cxx b/tests/string-parser/driver.cxx index 4e4984e..2e47e4a 100644 --- a/tests/string-parser/driver.cxx +++ b/tests/string-parser/driver.cxx @@ -1,8 +1,6 @@ // file : tests/string-parser/driver.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#include - #ifndef __cpp_lib_modules_ts #include #include @@ -23,6 +21,9 @@ import butl.string_parser; #include #endif +#undef NDEBUG +#include + using namespace std; using namespace butl::string_parser; -- cgit v1.1