aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-27 14:18:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-27 14:18:16 +0000
commitd9cce0814db58a506d549fea0f316a679335e22d (patch)
treecfc98f3ab46aeaa915d5e5b104fbe2bd69ef94a7 /spec
parent71987f3f09ba51c34a002370ec5dd3202e9beae4 (diff)
downloadruby-d9cce0814db58a506d549fea0f316a679335e22d.tar.gz
Fix restoration
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/kernel/match_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/kernel/match_spec.rb b/spec/ruby/core/kernel/match_spec.rb
index 11e527361b..bc6cb3d9dd 100644
--- a/spec/ruby/core/kernel/match_spec.rb
+++ b/spec/ruby/core/kernel/match_spec.rb
@@ -3,10 +3,10 @@ require_relative '../../spec_helper'
describe "Kernel#=~" do
verbose = $VERBOSE
before :each do
- $VERBOSE = nil
+ verbose, $VERBOSE = $VERBOSE, nil
end
after :each do
- verbose = $VERBOSE
+ $VERBOSE = verbose
end
it "returns nil matching any object" do