aboutsummaryrefslogtreecommitdiff
path: root/tests/dir-iterator
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dir-iterator')
-rw-r--r--tests/dir-iterator/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/dir-iterator/driver.cxx b/tests/dir-iterator/driver.cxx
index b73e2e2..0c19037 100644
--- a/tests/dir-iterator/driver.cxx
+++ b/tests/dir-iterator/driver.cxx
@@ -1,8 +1,6 @@
// file : tests/dir-iterator/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-#include <cassert>
-
#ifndef __cpp_lib_modules_ts
#include <cstddef> // size_t
#include <iostream>
@@ -26,6 +24,9 @@ import butl.filesystem;
#include <libbutl/filesystem.mxx>
#endif
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;