ruby-changes:46753
From: nobu <ko1@a...>
Date: Wed, 24 May 2017 16:11:46 +0900 (JST)
Subject: [ruby-changes:46753] nobu:r58868 (trunk): duplicate method
nobu 2017-05-24 16:11:41 +0900 (Wed, 24 May 2017) New Revision: 58868 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58868 Log: duplicate method * test/ruby/test_enum.rb (assert_float_equal): remove overridden definition. Modified files: trunk/test/ruby/test_enum.rb Index: test/ruby/test_enum.rb =================================================================== --- test/ruby/test_enum.rb (revision 58867) +++ test/ruby/test_enum.rb (revision 58868) @@ -196,11 +196,6 @@ class TestEnumerable < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/ruby/test_enum.rb#L196 assert_equal(105, [5, 7].inject(3, :*)) end - def assert_float_equal(e, v, msg=nil) - assert_equal(Float, v.class, msg) - assert_equal(e, v, msg) - end - def test_inject_array_plus assert_equal(3, [3].inject(:+)) assert_equal(8, [3, 5].inject(:+)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/