mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress warnings for Thread.exclusive
This commit is contained in:
parent
3e763883ea
commit
0195966ba2
1 changed files with 7 additions and 0 deletions
|
@ -1,8 +1,15 @@
|
|||
require_relative '../../spec_helper'
|
||||
|
||||
describe "Thread.exclusive" do
|
||||
verbose = Object
|
||||
|
||||
before :each do
|
||||
ScratchPad.clear
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
end
|
||||
|
||||
after :each do
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
||||
it "yields to the block" do
|
||||
|
|
Loading…
Add table
Reference in a new issue