From 49ed2a756bb41e4e3d3b520d0f84a60851504fe2 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 28 Nov 2012 08:00:53 +0000 Subject: * proc.c: remove Proc#== and Proc#eql?. Proc objects compared with thier object ids. * test/ruby/test_proc.rb: remove related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_proc.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/ruby/test_proc.rb') diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index b2ce8bcf62..0fed9224ec 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -339,12 +339,6 @@ class TestProc < Test::Unit::TestCase t.kill end - def test_eq2 - b1 = proc { } - b2 = b1.dup - assert(b1 == b2) - end - def test_to_proc b = proc { :foo } assert_equal(:foo, b.to_proc.call) -- cgit v1.2.3