blob: f4ec45add681dd717360e160154c0be942ec8eee (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
require 'thread'
require_relative '../shared/queue/clear'
describe "Thread::Queue#clear" do
it_behaves_like :queue_clear, :clear, -> { Queue.new }
# TODO: test for atomicity of Queue#clear
end
|