test/test_23_note.rb in writeexcel-0.6.19 vs test/test_23_note.rb in writeexcel-1.0.0
- old
+ new
@@ -52,15 +52,6 @@
73 65 72 6E 61 6D 65 00
).join(' ')
result = unpack_record(comment.store_note_record(obj_id))
assert_equal(target, result, caption)
end
-
- ###############################################################################
- #
- # Unpack the binary data into a format suitable for printing in tests.
- #
- def unpack_record(data)
- data.unpack('C*').map! {|c| sprintf("%02X", c) }.join(' ')
- end
-
end