summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 09:04:50 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 09:04:50 +0000
commit594c1d7f361d7ca52861905c2966e710420e9635 (patch)
tree525cb886764a5918505bca77f2bdd56477a51bce /test
parentbac58ed71c35054ddcbf4ba12a385a9df3683a42 (diff)
* object.c, NEWS, test/ruby/test_symbol.rb: Revert Symbol#to_proc
since it does not pass the tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_symbol.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index ac73dc9137..2ccfe64c92 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -74,11 +74,4 @@ class TestSymbol < Test::Unit::TestCase
assert_inspect_evaled(':$0')
assert_inspect_evaled(':$1')
end
-
- def test_to_proc
- assert_equal %w(1 2 3), (1..3).map(&:to_s)
- 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]) }
- end
end