aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/test_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qpdf/test_driver.cc')
-rw-r--r--qpdf/test_driver.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpdf/test_driver.cc b/qpdf/test_driver.cc
index d7c9a352..2ad5bd62 100644
--- a/qpdf/test_driver.cc
+++ b/qpdf/test_driver.cc
@@ -1319,6 +1319,9 @@ void runtest(int n, char const* filename1, char const* arg2)
std::cout << "trailing data: " << e.what()
<< std::endl;
}
+ assert(QPDFObjectHandle::parse(
+ &pdf, "[1 0 R]", "indirect test").unparse() ==
+ "[ 1 0 R ]");
}
else if (n == 32)
{