test/hexapdf/test_writer.rb in hexapdf-1.0.0 vs test/hexapdf/test_writer.rb in hexapdf-1.0.1
- old
+ new
@@ -51,12 +51,12 @@
#{343 + HexaPDF::VERSION.length}
%%EOF
EOF
xref_stream = case HexaPDF::VERSION.length
- when 5 then "x\xDAcbdlc``b`\xB0\x04\x93\x93\x19\x18\x00\f\x0F\x01["
- when 6 then "x\xDAcbdlg``b`\xB0\x04\x93\x93\x18\x18\x00\f\e\x01["
+ when 5 then "x\xDAcbdlg``b`\xB0\x04\x93\x93\x19\x18\x00\f\x1E\x01\\"
+ when 6 then "x\xDAcbd\xEC```b`\xB0\x04\x93\x93\x18\x18\x00\f*\x01\\"
else fail
end
@compressed_input_io = StringIO.new(<<~EOF.force_encoding(Encoding::BINARY))
%PDF-1.7
%\xCF\xEC\xFF\xE8\xD7\xCB\xCD
@@ -67,12 +67,12 @@
endobj
2 0 obj
20
endobj
3 0 obj
- <</Size 6/Type/XRef/W[1 1 2]/Index[0 4 5 1]/Filter/FlateDecode/DecodeParms<</Columns 4/Predictor 12>>/Length 31>>stream
- x\xDAcb`\xF8\xFF\x9F\x89\x89\x95\x91\x91\xE9\x7F\x19\x03\x03\x13\x83\x10\x88he`\x00\x00B4\x04\x1E
+ <</Size 6/Type/XRef/W[1 1 2]/Index[0 6]/Filter/FlateDecode/DecodeParms<</Columns 4/Predictor 12>>/Length 36>>stream
+ x\xDAcb`\xF8\xFF\x9F\x89\x89\x95\x91\x91\xE9\x7F\x19\x03\x03\x13\x83\x10\x90\xF8_\f\x14c\x14bd\x04\x00lk\a
endstream
endobj
startxref
141
%%EOF
@@ -88,10 +88,10 @@
<</Size 7/Root<</Type/Catalog>>/Info 6 0 R/Prev 141/Type/XRef/W[1 2 2]/Index[2 1 4 1 6 1]/Filter/FlateDecode/DecodeParms<</Columns 5/Predictor 12>>/Length 22>>stream
#{xref_stream}
endstream
endobj
startxref
- #{442 + HexaPDF::VERSION.length}
+ #{443 + HexaPDF::VERSION.length}
%%EOF
EOF
end
def assert_document_conversion(input_io)