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/timestamp/driver.cxx | |
parent | c81e514143877a5e2356fc58856cafc63488e041 (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'tests/timestamp/driver.cxx')
-rw-r--r-- | tests/timestamp/driver.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx index 6283798..0ea2b38 100644 --- a/tests/timestamp/driver.cxx +++ b/tests/timestamp/driver.cxx @@ -3,8 +3,6 @@ #include <time.h> // tzset() (POSIX), _tzset() (Windows) -#include <cassert> - #ifndef __cpp_lib_modules_ts #include <chrono> #include <locale> @@ -26,6 +24,9 @@ import butl.timestamp; #include <libbutl/timestamp.mxx> #endif +#undef NDEBUG +#include <cassert> + using namespace std; using namespace butl; |