Sha256: 85f8beecfddd5217359d4372d84c10e375d32406ff1d6b0b5590aa9381e95a96
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
require 'helper' class TestQueue < Minitest::Test def setup @queue = Sideband::Queue.new end def test_killed @queue.kill assert_nil @queue.pop end def test_can_push_and_pop assert_equal true, @queue.push(:a) assert_equal :a, @queue.pop end def test_nil_blocked refute @queue << nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sideband-1.0.4 | test/test_queue.rb |
sideband-1.0.3 | test/test_queue.rb |