aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:39:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:39:33 +0300
commitd98e538a1b4e9eaa3b8412db59ff4a1c200f3df6 (patch)
tree70d5e1022c33d5d3f1c8cc382c71cff5cd8ca38b /tests/manifest
parent13368a7f3513b22e1c49969fb24eb88e562d3756 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/manifest')
-rw-r--r--tests/manifest/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx
index 7ea77e3..2148ebb 100644
--- a/tests/manifest/driver.cxx
+++ b/tests/manifest/driver.cxx
@@ -3,7 +3,6 @@
#include <ios> // ios_base::failbit, ios_base::badbit
#include <string>
-#include <cassert>
#include <iostream>
#include <libbutl/manifest-parser.mxx>
@@ -12,6 +11,9 @@
#include <libbpkg/manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;
using namespace bpkg;