fixed mispelling: TimerTicks is now TimeTicks.
This commit is contained in:
parent
0d9206d602
commit
f6c87c02fc
|
@ -82,7 +82,7 @@ module Net
|
||||||
# SNMP 32-bit timer-ticks.
|
# SNMP 32-bit timer-ticks.
|
||||||
# Defined in RFC1155 (Structure of Mangement Information), section 6.
|
# Defined in RFC1155 (Structure of Mangement Information), section 6.
|
||||||
# A 32-bit counter is an ASN.1 application [3] implicit unsigned integer.
|
# A 32-bit counter is an ASN.1 application [3] implicit unsigned integer.
|
||||||
class TimerTicks32
|
class TimeTicks32
|
||||||
def initialize value
|
def initialize value
|
||||||
@value = value
|
@value = value
|
||||||
end
|
end
|
||||||
|
|
|
@ -120,7 +120,7 @@ class TestSnmp < Test::Unit::TestCase
|
||||||
assert_equal( "A\001d", c32.to_ber )
|
assert_equal( "A\001d", c32.to_ber )
|
||||||
g32 = Net::SNMP::Gauge32.new(100)
|
g32 = Net::SNMP::Gauge32.new(100)
|
||||||
assert_equal( "B\001d", g32.to_ber )
|
assert_equal( "B\001d", g32.to_ber )
|
||||||
t32 = Net::SNMP::TimerTicks32.new(100)
|
t32 = Net::SNMP::TimeTicks32.new(100)
|
||||||
assert_equal( "C\001d", t32.to_ber )
|
assert_equal( "C\001d", t32.to_ber )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue