Skip to content

Commit

Permalink
relax regexp used to check pftk error output. fixes jkraemer#69
Browse files Browse the repository at this point in the history
  • Loading branch information
jkraemer committed Sep 6, 2018
1 parent 97ecb41 commit 8e9781e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pdftk_wrapper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_fill_form_and_encrypt_for_opening
pdftk.fill_form 'test/fixtures/form.pdf', 'output.pdf', 'program_name' => 'SOME TEXT'
assert File.size('output.pdf') > 0
output = `pdftk output.pdf dump_data_fields 2>&1`
assert_match /OWNER OR USER PASSWORD REQUIRED/, output
assert_match /OWNER (OR USER )?PASSWORD REQUIRED/, output
FileUtils.rm 'output.pdf'
end

Expand Down

0 comments on commit 8e9781e

Please sign in to comment.