diff options
Diffstat (limited to 'qpdf/test_driver.cc')
-rw-r--r-- | qpdf/test_driver.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpdf/test_driver.cc b/qpdf/test_driver.cc index 28d8062c..e7451576 100644 --- a/qpdf/test_driver.cc +++ b/qpdf/test_driver.cc @@ -1942,7 +1942,9 @@ test_51(QPDF& pdf, char const* arg2) } else if (Tval == "checkbox1") { std::cout << "turning checkbox1 on\n"; QPDFFormFieldObjectHelper foh(field); - foh.setV(QPDFObjectHandle::newName("/Yes")); + // The value that eventually gets set is based on what's allowed in /N and may not match + // this value. + foh.setV(QPDFObjectHandle::newName("/Sure")); } else if (Tval == "checkbox2") { std::cout << "turning checkbox2 off\n"; QPDFFormFieldObjectHelper foh(field); |