diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 13:32:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 13:32:30 +0300 |
commit | 7a4fc37f264cdb67f2f83fa92703c869215bbc86 (patch) | |
tree | 0cdd96084be9b5bd08fa81fbb9191f18450300be /tests/string-parser | |
parent | c81e514143877a5e2356fc58856cafc63488e041 (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'tests/string-parser')
-rw-r--r-- | tests/string-parser/driver.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <cassert> - #ifndef __cpp_lib_modules_ts #include <string> #include <vector> @@ -23,6 +21,9 @@ import butl.string_parser; #include <libbutl/string-parser.mxx> #endif +#undef NDEBUG +#include <cassert> + using namespace std; using namespace butl::string_parser; |