From b8ea267a624086a97e5c33afc95320cce2956fb3 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 22 Apr 2008 13:04:10 +0000 Subject: add a test of Symbol#to_proc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_symbol.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby') diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index ac73dc913..4d29d96f5 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 -- cgit