diff options
Diffstat (limited to 'qpdf/qtest/qpdf-json.test')
-rw-r--r-- | qpdf/qtest/qpdf-json.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpdf/qtest/qpdf-json.test b/qpdf/qtest/qpdf-json.test index 3ab581e7..9e92e27d 100644 --- a/qpdf/qtest/qpdf-json.test +++ b/qpdf/qtest/qpdf-json.test @@ -67,15 +67,17 @@ foreach my $i (@goodfiles) if (ref($i) eq 'ARRAY') { ($f, $xargs) = @$i; } + # explicit "latest" as --json-output version $td->runtest("good: $f -> JSON", {$td->COMMAND => "qpdf $xargs --decode-level=none" . " --json-output=latest $f a.json"}, {$td->STRING => "", $td->EXIT_STATUS => 0}, $td->NORMALIZE_NEWLINES); + # default --json-output version $td->runtest("good: $f JSON -> JSON", {$td->COMMAND => "qpdf --decode-level=none" . - " --json-input --json-output=latest a.json b.json"}, + " --json-input --json-output a.json b.json"}, {$td->STRING => "", $td->EXIT_STATUS => 0}, $td->NORMALIZE_NEWLINES); $td->runtest("good: $f JSON -> QDF", |