summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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