test/hexapdf/test_importer.rb in hexapdf-0.24.1 vs test/hexapdf/test_importer.rb in hexapdf-0.24.2
- old
+ new
@@ -24,9 +24,10 @@
obj = @source.add("test")
@hash = @source.wrap({key: "value"})
@obj = @source.add({hash: @hash, array: ["one", "two"],
ref: HexaPDF::Reference.new(obj.oid, obj.gen),
others: [:symbol, 5, 5.5, nil, true, false]})
+ @obj[:MySelf] = @obj
@source.pages.add
@source.pages.root[:Rotate] = 90
@dest = HexaPDF::Document.new
@importer = HexaPDF::Importer.for(source: @source, destination: @dest)
end