diff options
| author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 13:05:06 +0000 |
|---|---|---|
| committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-22 13:05:06 +0000 |
| commit | 56b9d666628541388976eea41ef19484d9ae2926 (patch) | |
| tree | 7277396637f93e1600cb857e69f055f7f193c377 /test/ruby | |
| parent | a2b186bee4d4a8aec91cfd46b135f3448f731c54 (diff) | |
add a test of Symbol#to_proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_symbol.rb | 1 |
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 |
