summaryrefslogtreecommitdiff
path: root/test/ruby/test_class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_class.rb')
-rw-r--r--test/ruby/test_class.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb
index d1d196c9af..98acbaf67b 100644
--- a/test/ruby/test_class.rb
+++ b/test/ruby/test_class.rb
@@ -359,7 +359,7 @@ class TestClass < Test::Unit::TestCase
assert_raise_with_message NameError, /uninitialized/ do
begin
eval('class ::TestClass::PrivateClass; end')
- rescue NameError => e
+ rescue NameError
end
Object.const_get "NOT_AVAILABLE_CONST_NAME_#{__LINE__}"