aboutsummaryrefslogtreecommitdiff
path: root/tests/fdstream
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 13:32:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 13:32:30 +0300
commit7a4fc37f264cdb67f2f83fa92703c869215bbc86 (patch)
tree0cdd96084be9b5bd08fa81fbb9191f18450300be /tests/fdstream
parentc81e514143877a5e2356fc58856cafc63488e041 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/fdstream')
-rw-r--r--tests/fdstream/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx
index 2309a7a..dc657e7 100644
--- a/tests/fdstream/driver.cxx
+++ b/tests/fdstream/driver.cxx
@@ -5,8 +5,6 @@
# include <libbutl/win32-utility.hxx>
#endif
-#include <cassert>
-
#ifndef __cpp_lib_modules_ts
#ifndef _WIN32
# include <chrono>
@@ -47,6 +45,9 @@ import butl.filesystem;
#include <libbutl/filesystem.mxx>
#endif
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;