[ruby-cvs:56876] gogotanaka:r49726 (trunk): * test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...).

gogotanaka at ruby-lang.org gogotanaka at ruby-lang.org
Wed Feb 25 02:24:47 JST 2015


gogotanaka	2015-02-25 02:24:45 +0900 (Wed, 25 Feb 2015)

  New Revision: 49726

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49726

  Log:
    * test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...).
    
    * test/ruby/test_math.rb: Add tests for overriding Integer#to_f.
      [ruby-core:67919] [Misc #10809]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_math.rb


More information about the ruby-cvs mailing list