aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest-rewriter/driver.cxx
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/manifest-rewriter/driver.cxx
parentc81e514143877a5e2356fc58856cafc63488e041 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/manifest-rewriter/driver.cxx')
-rw-r--r--tests/manifest-rewriter/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/manifest-rewriter/driver.cxx b/tests/manifest-rewriter/driver.cxx
index ec73d81..d08a6c8 100644
--- a/tests/manifest-rewriter/driver.cxx
+++ b/tests/manifest-rewriter/driver.cxx
@@ -1,8 +1,6 @@
// file : tests/manifest-rewriter/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-#include <cassert>
-
#ifndef __cpp_lib_modules_ts
#include <vector>
#include <string>
@@ -32,6 +30,9 @@ import butl.manifest_rewriter;
#include <libbutl/manifest-rewriter.mxx>
#endif
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
namespace butl