diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-28 08:00:53 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-28 08:00:53 +0000 |
commit | 49ed2a756bb41e4e3d3b520d0f84a60851504fe2 (patch) | |
tree | dc7bccbe9a49f1b3b4e51308658f2eda46bbd71b /test/ruby | |
parent | 45011d08e13878ba7593cc4aa3d112d689b9b95e (diff) | |
download | ruby-49ed2a756bb41e4e3d3b520d0f84a60851504fe2.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_proc.rb | 6 |
1 files changed, 0 insertions, 6 deletions
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) |