test/hexapdf/layout/test_style.rb in hexapdf-0.12.1 vs test/hexapdf/layout/test_style.rb in hexapdf-0.12.2

- old
+ new

@@ -535,10 +535,10 @@ link.call(@canvas, @box) @canvas.context[:Annots]&.first end it "does nothing if the context is not a page object" do - @canvas = HexaPDF::Document.new.add({Type: :XObject, Subtype: :Form}).canvas + @canvas = HexaPDF::Document.new.add({Type: :XObject, Subtype: :Form, BBox: [0, 0, 1, 1]}).canvas assert_nil(call_link(dest: true)) end it "sets general values like /Rect and /QuadPoints" do annot = call_link(dest: true)