This commit is contained in:
blackhedd 2006-12-15 11:23:18 +00:00
parent c49e1f0c94
commit da69de0fc2

View file

@ -50,7 +50,7 @@ class TestSnmp < Test::Unit::TestCase
} }
end end
def test_packet def test_get_request
data = SnmpGetRequest.dup data = SnmpGetRequest.dup
pkt = data.read_ber(Net::SNMP::AsnSyntax) pkt = data.read_ber(Net::SNMP::AsnSyntax)
assert pkt.is_a?(Net::BER::BerIdentifiedArray) assert pkt.is_a?(Net::BER::BerIdentifiedArray)