diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-24 02:47:59 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-24 02:47:59 +0000 |
commit | 6d67a48876ed107dc56735cacb6f45625fbe617f (patch) | |
tree | 408d1c0bdb7481e8f4ba4b70d3c5f7ac121a22d9 /test/ruby/test_rational.rb | |
parent | e9e99651e35bdb9357f4fc5250d663fc17bb3f7e (diff) | |
download | ruby-6d67a48876ed107dc56735cacb6f45625fbe617f.tar.gz |
* test/ruby/test_rational.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rational.rb')
-rw-r--r-- | test/ruby/test_rational.rb | 12 |
1 files changed, 6 insertions, 6 deletions
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 |