diff options
Diffstat (limited to 'spec/ruby/language/constants_spec.rb')
-rw-r--r-- | spec/ruby/language/constants_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/language/constants_spec.rb b/spec/ruby/language/constants_spec.rb index 4b674a35f5..4f9429c126 100644 --- a/spec/ruby/language/constants_spec.rb +++ b/spec/ruby/language/constants_spec.rb @@ -632,7 +632,6 @@ describe "Module#private_constant marked constants" do end it "has the defined class as the :name attribute" do - exception = nil lambda do ConstantVisibility::PrivConstClassChild::PRIVATE_CONSTANT_CLASS end.should raise_error(NameError) {|e| |