diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 00:56:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-12 00:56:24 +0000 |
commit | a1061f557ba50ecffc7c835f88826f6340b1e471 (patch) | |
tree | 9e305e975afcef5ee773a9ae95f3c2b4f2b9da2f /spec/ruby/core/kernel | |
parent | b57915eddc91ce0369ae8bcf82d8c4364f42ea05 (diff) | |
download | ruby-a1061f557ba50ecffc7c835f88826f6340b1e471.tar.gz |
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
Diffstat (limited to 'spec/ruby/core/kernel')
-rw-r--r-- | spec/ruby/core/kernel/autoload_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/kernel/autoload_spec.rb b/spec/ruby/core/kernel/autoload_spec.rb index e2741de74c..b9715eea66 100644 --- a/spec/ruby/core/kernel/autoload_spec.rb +++ b/spec/ruby/core/kernel/autoload_spec.rb @@ -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 |