From 52f269e0855a676a47a86a1ce0fa7d4b02768fd3 Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 1 Jul 2018 01:38:16 +0000 Subject: Remove unused variable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/language/constants_spec.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/ruby/language') 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| -- cgit v1.2.3