From a1b4816759418ca8fe510e8739622fc5d77ab0f0 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 27 Apr 2019 18:53:23 +0200 Subject: Update to ruby/spec@15c9619 --- spec/ruby/language/constants_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'spec/ruby/language/constants_spec.rb') 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 -- cgit v1.2.3