diff options
author | Benoit Daloze <[email protected]> | 2019-10-26 20:53:01 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2019-10-26 20:53:01 +0200 |
commit | 664e96b1de816c813c29f61e16a2031a7af7ba86 (patch) | |
tree | 7f4691847cd6b3282812eea7e2be3758e08d1433 /spec/ruby/core/thread | |
parent | 3eb0d50c0baae916f4486c264605b18e77bee0dc (diff) |
Update to ruby/spec@28a728b
Diffstat (limited to 'spec/ruby/core/thread')
-rw-r--r-- | spec/ruby/core/thread/exclusive_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/ruby/core/thread/exclusive_spec.rb b/spec/ruby/core/thread/exclusive_spec.rb index ec35ba542b..ca8f105da4 100644 --- a/spec/ruby/core/thread/exclusive_spec.rb +++ b/spec/ruby/core/thread/exclusive_spec.rb @@ -1,15 +1,13 @@ require_relative '../../spec_helper' describe "Thread.exclusive" do - verbose = Object - before :each do ScratchPad.clear - verbose, $VERBOSE = $VERBOSE, nil + $VERBOSE, @verbose = nil, $VERBOSE end after :each do - $VERBOSE = verbose + $VERBOSE = @verbose end it "yields to the block" do |