ruby-changes:49006
From: yui-knk <ko1@a...>
Date: Tue, 12 Dec 2017 08:20:46 +0900 (JST)
Subject: [ruby-changes:49006] yui-knk:r61125 (trunk): Fix a method name
yui-knk 2017-12-12 08:20:42 +0900 (Tue, 12 Dec 2017) New Revision: 61125 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61125 Log: Fix a method name * test/ruby/test_optimization.rb (test_fixnum_ge): Fix a method name to suppress method redefinition warnings. Modified files: trunk/test/ruby/test_optimization.rb Index: test/ruby/test_optimization.rb =================================================================== --- test/ruby/test_optimization.rb (revision 61124) +++ test/ruby/test_optimization.rb (revision 61125) @@ -100,7 +100,7 @@ class TestRubyOptimization < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_optimization.rb#L100 assert_redefine_method('Float', '>', 'assert_equal 2.2, 1.1 > 2.2') end - def test_fixnum_ge + def test_float_ge assert_equal false, 1.1 >= 2.2 assert_redefine_method('Float', '>=', 'assert_equal 2.2, 1.1 >= 2.2') end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/