test/test_context.rb in rbczmq-0.9 vs test/test_context.rb in rbczmq-1.0
- old
+ new
@@ -66,10 +66,11 @@
end
ctx.hwm = 10
assert_raises ZMQ::Error do
ctx.hwm = -2
end
- assert_equal 10, ctx.hwm
+ # deprecated method
+ assert_equal 0, ctx.hwm
ensure
ctx.destroy
end
def test_bind_connect
\ No newline at end of file