summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-01 01:38:16 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-01 01:38:16 +0000
commit52f269e0855a676a47a86a1ce0fa7d4b02768fd3 (patch)
treea8f8865e2c9ae2232a0f26f43f635104fa602c6d
parentfe398f87fe23f7b2b110f2f25113eeac90e6f4bc (diff)
Remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--spec/ruby/language/constants_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/ruby/language/constants_spec.rb b/spec/ruby/language/constants_spec.rb
index 4b674a3..4f9429c 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|