From 6d67a48876ed107dc56735cacb6f45625fbe617f Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 24 Aug 2014 02:47:59 +0000 Subject: * test/ruby/test_rational.rb: fixed indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ test/ruby/test_rational.rb | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07cb462a66..6d143016fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Aug 24 11:47:39 2014 SHIBATA Hiroshi + + * test/ruby/test_rational.rb: fixed indent. + Sun Aug 24 11:44:11 2014 SHIBATA Hiroshi * test/ruby/test_rational.rb: remove commented-out code. diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb index a16d47b3ac..414eadcb73 100644 --- a/test/ruby/test_rational.rb +++ b/test/ruby/test_rational.rb @@ -833,11 +833,11 @@ class Rational_Test < Test::Unit::TestCase def test_to_c if @complex && !@keiju if @unify - assert_equal(Rational(3,2), Rational(3,2).to_c) - assert_equal(Rational(3,2), Complex(Rational(3,2))) + assert_equal(Rational(3,2), Rational(3,2).to_c) + assert_equal(Rational(3,2), Complex(Rational(3,2))) else - assert_equal(Complex(Rational(3,2)), Rational(3,2).to_c) - assert_equal(Complex(Rational(3,2)), Complex(Rational(3,2))) + assert_equal(Complex(Rational(3,2)), Rational(3,2).to_c) + assert_equal(Complex(Rational(3,2)), Complex(Rational(3,2))) end end end @@ -861,9 +861,9 @@ class Rational_Test < Test::Unit::TestCase if @complex if @keiju - assert_raise(NoMethodError){Complex(1,2).to_r} + assert_raise(NoMethodError){Complex(1,2).to_r} else - assert_raise(RangeError){Complex(1,2).to_r} + assert_raise(RangeError){Complex(1,2).to_r} end end -- cgit v1.2.3