ruby-changes:45913
From: nobu <ko1@a...>
Date: Thu, 16 Mar 2017 11:02:53 +0900 (JST)
Subject: [ruby-changes:45913] nobu:r57986 (trunk): test_rational.rb: duplicate assertions
nobu 2017-03-16 11:02:47 +0900 (Thu, 16 Mar 2017) New Revision: 57986 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57986 Log: test_rational.rb: duplicate assertions * test/ruby/test_rational.rb (test_parse): remove duplicate assertions. Modified files: trunk/test/ruby/test_rational.rb Index: test/ruby/test_rational.rb =================================================================== --- test/ruby/test_rational.rb (revision 57985) +++ test/ruby/test_rational.rb (revision 57986) @@ -727,42 +727,6 @@ class Rational_Test < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rational.rb#L727 ok[5000, 1, '5e3'] ok[500000000000, 1, '5e1_1'] - ok[ 5, 1, '5'] - ok[-5, 1, '-5'] - ok[ 5, 3, '5/3'] - ok[-5, 3, '-5/3'] - - ok[ 5, 1, '5.0'] - ok[-5, 1, '-5.0'] - ok[ 5, 3, '5.0/3'] - ok[-5, 3, '-5.0/3'] - - ok[ 5, 1, '5e0'] - ok[-5, 1, '-5e0'] - ok[ 5, 3, '5e0/3'] - ok[-5, 3, '-5e0/3'] - - ok[ 5e1, 1, '5e1'] - ok[-5e2, 1, '-5e2'] - ok[ 5e3, 3, '5e003/3'] - ok[-5e4, 3, '-5e004/3'] - - ok[ 33, 100, '.33'] - ok[ 33, 100, '0.33'] - ok[-33, 100, '-.33'] - ok[-33, 100, '-0.33'] - ok[-33, 100, '-0.3_3'] - - ok[ 1, 2, '5e-1'] - ok[50, 1, '5e+1'] - ok[ 1, 2, '5.0e-1'] - ok[50, 1, '5.0e+1'] - ok[50, 1, '5e1'] - ok[50, 1, '5E1'] - ok[500, 1, '5e2'] - ok[5000, 1, '5e3'] - ok[500000000000, 1, '5e1_1'] - ng[0, 1, ''] ng[0, 1, ' '] ng[5, 1, "\f\n\r\t\v5\0"] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/