aboutsummaryrefslogtreecommitdiff
path: root/tests/overrides
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/overrides
parent13368a7f3513b22e1c49969fb24eb88e562d3756 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/overrides')
-rw-r--r--tests/overrides/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/overrides/driver.cxx b/tests/overrides/driver.cxx
index 4302bb1..f429b65 100644
--- a/tests/overrides/driver.cxx
+++ b/tests/overrides/driver.cxx
@@ -6,7 +6,6 @@
#include <vector>
#include <cstddef> // size_t
#include <cstdint> // uint64_t
-#include <cassert>
#include <iostream>
#include <libbutl/utility.mxx> // trim()
@@ -15,6 +14,9 @@
#include <libbpkg/manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;
using namespace bpkg;