aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/language/constants_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/constants_spec.rb')
-rw-r--r--spec/ruby/language/constants_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/ruby/language/constants_spec.rb b/spec/ruby/language/constants_spec.rb
index 354cc4b9a3..4d848ae889 100644
--- a/spec/ruby/language/constants_spec.rb
+++ b/spec/ruby/language/constants_spec.rb
@@ -655,9 +655,7 @@ describe "Module#private_constant marked constants" do
lambda do
ConstantVisibility::PrivConstModuleChild::PRIVATE_CONSTANT_MODULE
end.should raise_error(NameError) {|e|
- ruby_bug "#14853", ""..."2.5.2" do
- e.receiver.should == ConstantVisibility::PrivConstModule
- end
+ e.receiver.should == ConstantVisibility::PrivConstModule
e.name.should == :PRIVATE_CONSTANT_MODULE
}
end