Sha256: d2315ef16043af4a51fe917101ab0cfbf286d58cb564b641c90909c0a6b6baec
Contents?: true
Size: 359 Bytes
Versions: 23
Compression:
Stored size: 359 Bytes
Contents
# encoding: utf-8 require File.join(File.dirname(__FILE__), '..', 'helper') class TestPushSocket < ZmqTestCase def test_behavior ctx = ZMQ::Context.new sock = ctx.socket(:PUSH) assert_equal ZMQ::PUSH, sock.type assert_equal "PUSH socket", sock.to_s assert_raises ZMQ::Error do sock.recv end ensure ctx.destroy end end
Version data entries
23 entries across 23 versions & 1 rubygems