ruby-changes:4658
From: ko1@a...
Date: Tue, 22 Apr 2008 22:05:15 +0900 (JST)
Subject: [ruby-changes:4658] kazu - Ruby:r16152 (ruby_1_8): add a test of Symbol#to_proc.
kazu 2008-04-22 22:05:06 +0900 (Tue, 22 Apr 2008) New Revision: 16152 Modified files: branches/ruby_1_8/test/ruby/test_symbol.rb Log: add a test of Symbol#to_proc. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/ruby/test_symbol.rb?r1=16152&r2=16151&diff_format=u Index: ruby_1_8/test/ruby/test_symbol.rb =================================================================== --- ruby_1_8/test/ruby/test_symbol.rb (revision 16151) +++ ruby_1_8/test/ruby/test_symbol.rb (revision 16152) @@ -80,5 +80,6 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/