Sha256: 90996035579e0c8bcb0d26a1cd67c784c812b7130893a502b122837e6e0cf933
Contents?: true
Size: 281 Bytes
Versions: 145
Compression:
Stored size: 281 Bytes
Contents
require 'common' class PacketTest < Net::SFTP::TestCase def test_packet_should_auto_read_type_byte packet = Net::SFTP::Packet.new("\001rest-of-packet-here") assert_equal 1, packet.type assert_equal "rest-of-packet-here", packet.content[packet.position..-1] end end
Version data entries
145 entries across 108 versions & 9 rubygems