ruby-changes:54374
From: nobu <ko1@a...>
Date: Thu, 27 Dec 2018 23:18:20 +0900 (JST)
Subject: [ruby-changes:54374] nobu:r66588 (trunk): Fix restoration
nobu 2018-12-27 23:18:16 +0900 (Thu, 27 Dec 2018) New Revision: 66588 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66588 Log: Fix restoration Modified files: trunk/spec/ruby/core/kernel/match_spec.rb Index: spec/ruby/core/kernel/match_spec.rb =================================================================== --- spec/ruby/core/kernel/match_spec.rb (revision 66587) +++ spec/ruby/core/kernel/match_spec.rb (revision 66588) @@ -3,10 +3,10 @@ require_relative '../../spec_helper' https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/kernel/match_spec.rb#L3 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/