aboutsummaryrefslogtreecommitdiff
path: root/tests/repository-location
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/repository-location
parent13368a7f3513b22e1c49969fb24eb88e562d3756 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/repository-location')
-rw-r--r--tests/repository-location/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/repository-location/driver.cxx b/tests/repository-location/driver.cxx
index 3eb8101..b0c7039 100644
--- a/tests/repository-location/driver.cxx
+++ b/tests/repository-location/driver.cxx
@@ -2,7 +2,6 @@
// license : MIT; see accompanying LICENSE file
#include <string>
-#include <cassert>
#include <sstream>
#include <iostream>
#include <stdexcept> // invalid_argument, logic_error
@@ -12,6 +11,9 @@
#include <libbpkg/manifest.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace butl;