aboutsummaryrefslogtreecommitdiffstats
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
commit74b93a0fec1695157029317d21927d81f42aa0f8 (patch)
treea8f8865e2c9ae2232a0f26f43f635104fa602c6d
parentadfc31a4d5b62a0bfe03b5155e44ed66f4d5d04e (diff)
downloadruby-74b93a0fec1695157029317d21927d81f42aa0f8.tar.gz
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 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|