aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/json_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/json_handler.cc')
-rw-r--r--libtests/json_handler.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libtests/json_handler.cc b/libtests/json_handler.cc
index 567cde86..4e610b08 100644
--- a/libtests/json_handler.cc
+++ b/libtests/json_handler.cc
@@ -1,14 +1,10 @@
+#include <qpdf/assert_test.h>
+
#include <qpdf/JSONHandler.hh>
#include <qpdf/QPDFUsage.hh>
#include <qpdf/QUtil.hh>
#include <iostream>
-#ifdef NDEBUG
-// We need assert even in a release build for test code.
-# undef NDEBUG
-#endif
-#include <cassert>
-
static void
print_null(std::string const& path)
{