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:
parent
b57915eddc
commit
a1061f557b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue