diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-27 14:15:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-27 14:15:36 +0000 |
commit | 71987f3f09ba51c34a002370ec5dd3202e9beae4 (patch) | |
tree | f5754968301234a568fa783c7238f60d135323ba /spec/ruby/core/kernel | |
parent | b7c2ca7a3225efcc79a72ee3798abc3320f5c304 (diff) | |
download | ruby-71987f3f09ba51c34a002370ec5dd3202e9beae4.tar.gz |
Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/kernel')
-rw-r--r-- | spec/ruby/core/kernel/match_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/ruby/core/kernel/match_spec.rb b/spec/ruby/core/kernel/match_spec.rb index e4af24791b..11e527361b 100644 --- a/spec/ruby/core/kernel/match_spec.rb +++ b/spec/ruby/core/kernel/match_spec.rb @@ -1,6 +1,14 @@ require_relative '../../spec_helper' describe "Kernel#=~" do + verbose = $VERBOSE + before :each do + $VERBOSE = nil + end + after :each do + verbose = $VERBOSE + end + it "returns nil matching any object" do o = Object.new |