summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-24 02:47:59 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-24 02:47:59 +0000
commit6d67a48876ed107dc56735cacb6f45625fbe617f (patch)
tree408d1c0bdb7481e8f4ba4b70d3c5f7ac121a22d9
parente9e99651e35bdb9357f4fc5250d663fc17bb3f7e (diff)
* test/ruby/test_rational.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--test/ruby/test_rational.rb12
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 <shibata.hiroshi@gmail.com>
+
+ * test/ruby/test_rational.rb: fixed indent.
+
Sun Aug 24 11:44:11 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* 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