1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

catch up r61131.

* spec/ruby/core/kernel/autoload_spec.rb: should use FrozenError.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-12-12 00:56:24 +00:00
parent b57915eddc
commit a1061f557b

View file

@ -56,8 +56,8 @@ describe "Kernel#autoload" do
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