blob: 368bb00d5f9501ce89fab9e4ee0b64fc92ef2949 (
plain)
1
2
3
4
5
6
7
|
require File.expand_path('../../../../spec_helper', __FILE__)
require 'thread'
require File.expand_path('../../shared/queue/empty', __FILE__)
describe "Thread::SizedQueue#empty?" do
it_behaves_like :queue_empty?, :empty?, -> { SizedQueue.new(10) }
end
|