aboutsummaryrefslogtreecommitdiff
path: root/tests/compiler/cxx-indenter
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-14 21:16:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-14 21:23:56 +0300
commit79a99cfca1223aa1f17ceed0ab2fd5de16108b5b (patch)
tree63862c2f48f1314e33cf8283a1a52e13a399178b /tests/compiler/cxx-indenter
parent8653effc5751e68e36e7e86db7a953a00dde8439 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'tests/compiler/cxx-indenter')
-rw-r--r--tests/compiler/cxx-indenter/driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/compiler/cxx-indenter/driver.cxx b/tests/compiler/cxx-indenter/driver.cxx
index c73aa8d..a0e8be2 100644
--- a/tests/compiler/cxx-indenter/driver.cxx
+++ b/tests/compiler/cxx-indenter/driver.cxx
@@ -7,6 +7,9 @@
#include <libcutl/compiler/code-stream.hxx>
#include <libcutl/compiler/cxx-indenter.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace cutl::compiler;