diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-09-03 19:56:02 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-09-03 19:56:34 +0200 |
commit | 806922f643b05b50e423a7f16fc800dfd52ca8ef (patch) | |
tree | 16b6647d5202683ef00e92d6fded84b02fb88381 /libtests/qtest/ascii85.test | |
parent | 27980894bd91524b11ea2d43e927cfc99304e4de (diff) | |
download | qpdf-806922f643b05b50e423a7f16fc800dfd52ca8ef.tar.zst |
ascii85: ignore whitespace between ~ and > (fixes #973)
Diffstat (limited to 'libtests/qtest/ascii85.test')
-rw-r--r-- | libtests/qtest/ascii85.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libtests/qtest/ascii85.test b/libtests/qtest/ascii85.test index 53977619..1843f8a5 100644 --- a/libtests/qtest/ascii85.test +++ b/libtests/qtest/ascii85.test @@ -20,4 +20,10 @@ $td->runtest("partial decode", $td->EXIT_STATUS => 0}, $td->NORMALIZE_NEWLINES); -$td->report(2); +$td->runtest("newline between ~ and >", + {$td->COMMAND => "echo '\@<5skEHbu7\$3~\n>' | ascii85"}, + {$td->STRING => "asdfqwer\n", + $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); + +$td->report(3); |