ruby-changes:49017
From: ko1 <ko1@a...>
Date: Tue, 12 Dec 2017 09:56:32 +0900 (JST)
Subject: [ruby-changes:49017] ko1:r61132 (trunk): catch up r61131.
ko1 2017-12-12 09:56:24 +0900 (Tue, 12 Dec 2017) New Revision: 61132 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61132 Log: catch up r61131. * spec/ruby/core/kernel/autoload_spec.rb: should use FrozenError. Modified files: trunk/spec/ruby/core/kernel/autoload_spec.rb Index: spec/ruby/core/kernel/autoload_spec.rb =================================================================== --- spec/ruby/core/kernel/autoload_spec.rb (revision 61131) +++ spec/ruby/core/kernel/autoload_spec.rb (revision 61132) @@ -56,8 +56,8 @@ describe "Kernel#autoload" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/kernel/autoload_spec.rb#L56 end describe "when Object is frozen" do - it "raises a RuntimeError before defining the constant" do - ruby_exe(fixture(__FILE__, "autoload_frozen.rb")).should == "RuntimeError - nil" + it "raises a FrozenError before defining the constant" do + ruby_exe(fixture(__FILE__, "autoload_frozen.rb")).should == "FrozenError - nil" end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/