Skip to content

Commit

Permalink
Testing name tree size
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdalilue committed Jul 26, 2021
1 parent 9737f81 commit a1aa484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/pdf/core/embedded_files_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def ref!(data)
t.add_embedded_file(file_name, t.ref!(Type: :Filespec))

pdf_object = "4 0 obj\n<< /Names [(my_file) 2 0 R]\n>>\nendobj\n"
expect(t.embedded_files.data.size).to eq 1
expect(t.embedded_files.object).to eq pdf_object
end
end

0 comments on commit a1aa484

Please sign in to comment.