ruby-changes:49045
From: a_matsuda <ko1@a...>
Date: Tue, 12 Dec 2017 21:22:03 +0900 (JST)
Subject: [ruby-changes:49045] a_matsuda:r61159 (trunk): Unneeded assertion
a_matsuda 2017-12-12 21:12:39 +0900 (Tue, 12 Dec 2017) New Revision: 61159 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61159 Log: Unneeded assertion Modified files: trunk/test/ruby/test_method.rb Index: test/ruby/test_method.rb =================================================================== --- test/ruby/test_method.rb (revision 61158) +++ test/ruby/test_method.rb (revision 61159) @@ -1019,7 +1019,6 @@ class TestMethod < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_method.rb#L1019 end def test_eqq - assert(Method.instance_methods(false).include? :===) assert_operator(0.method(:<), :===, 5) assert_not_operator(0.method(:<), :===, -5) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/