summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 13:04:10 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 13:04:10 +0000
commit29934eed9d10ab20ea69f6e9aced11b2f140f8b9 (patch)
tree20d00d74140077f971e7353f5961d56f5b9e56b7 /test
parent0beaddc4e23a381e056bd637f5abb87d3c283f96 (diff)
add a test of Symbol#to_proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_symbol.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index ac73dc9137..4d29d96f51 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -80,5 +80,6 @@ class TestSymbol < Test::Unit::TestCase
assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([]) }
assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([1]) }
assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([1,2]) }
+ assert_nothing_raised(ArgumentError) { :object_id.to_proc.call([1,[2,3]]) }
end
end