aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/json.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-21 13:41:09 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-21 14:43:21 +0200
commit47c093c48b7ac3eb97c33b8edfafdf89685cffc7 (patch)
tree94f9f9922dc5dffaaf2ac73e4f30b8832e9d6403 /libtests/json.cc
parent9b2eb01e2505e301ce95d31f5387fea0de35eff0 (diff)
downloadqpdf-47c093c48b7ac3eb97c33b8edfafdf89685cffc7.tar.zst
Replace std::regex with validators for better performance
Diffstat (limited to 'libtests/json.cc')
-rw-r--r--libtests/json.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtests/json.cc b/libtests/json.cc
index 46b4377d..15618572 100644
--- a/libtests/json.cc
+++ b/libtests/json.cc
@@ -3,6 +3,7 @@
#include <qpdf/JSON.hh>
#include <qpdf/Pipeline.hh>
#include <qpdf/QPDFObjectHandle.hh>
+#include <qpdf/QPDF.hh>
#include <iostream>
static void
@@ -271,6 +272,7 @@ main()
{
test_main();
test_schema();
+ assert(QPDF::test_json_validators());
std::cout << "end of json tests\n";
return 0;