aboutsummaryrefslogtreecommitdiff
path: root/tests/package-version/driver.cxx
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/package-version/driver.cxx
parent13368a7f3513b22e1c49969fb24eb88e562d3756 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/package-version/driver.cxx')
-rw-r--r--tests/package-version/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/package-version/driver.cxx b/tests/package-version/driver.cxx
index 57c3f04..fc45c4d 100644
--- a/tests/package-version/driver.cxx
+++ b/tests/package-version/driver.cxx
@@ -2,7 +2,6 @@
// license : MIT; see accompanying LICENSE file
#include <string>
-#include <cassert>
#include <cstdint> // uint16
#include <iostream>
#include <exception>
@@ -13,6 +12,9 @@
#include <libbpkg/manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;