[前][次][番号順一覧][スレッド一覧]

ruby-changes:35182

From: hsbt <ko1@a...>
Date: Sun, 24 Aug 2014 11:48:06 +0900 (JST)
Subject: [ruby-changes:35182] hsbt:r47264 (trunk): * test/ruby/test_rational.rb: fixed indent.

hsbt	2014-08-24 11:47:59 +0900 (Sun, 24 Aug 2014)

  New Revision: 47264

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47264

  Log:
    * test/ruby/test_rational.rb: fixed indent.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_rational.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47263)
+++ ChangeLog	(revision 47264)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Aug 24 11:47:39 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* test/ruby/test_rational.rb: fixed indent.
+
 Sun Aug 24 11:44:11 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* test/ruby/test_rational.rb: remove commented-out code.
Index: test/ruby/test_rational.rb
===================================================================
--- test/ruby/test_rational.rb	(revision 47263)
+++ test/ruby/test_rational.rb	(revision 47264)
@@ -833,11 +833,11 @@ class Rational_Test < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rational.rb#L833
   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::TestCa https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rational.rb#L861
 
     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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]