1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test of Symbol#to_proc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2008-04-22 13:04:10 +00:00
parent 0beaddc4e2
commit 29934eed9d

View file

@ -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