summaryrefslogtreecommitdiff
path: root/test/ruby/test_object.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-05 13:27:22 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-05 13:27:22 +0000
commit9194b220a59435a5a16d62a3ccc93b5adc784cd1 (patch)
tree654b01c15ba23e9a43ee9cc7bce65d24c54613e2 /test/ruby/test_object.rb
parent01740f0c273c89f7bcff3d5014d73c8ff6fb1986 (diff)
* test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_object.rb')
-rw-r--r--test/ruby/test_object.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 7db41a6530..f305cc7228 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -801,7 +801,7 @@ class TestObject < Test::Unit::TestCase
end
def test_type_error_message
- issue = "Bug #7539"
+ _issue = "Bug #7539"
assert_raise_with_message(TypeError, "can't convert Array into Integer") {Integer([42])}
assert_raise_with_message(TypeError, 'no implicit conversion of Array into Integer') {[].first([42])}
end