1
0
Fork 0
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:
Nobuyoshi Nakada 2019-10-14 15:42:27 +09:00
parent 3e763883ea
commit 0195966ba2
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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