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

ruby-changes:42845

From: yui-knk <ko1@a...>
Date: Thu, 5 May 2016 17:10:03 +0900 (JST)
Subject: [ruby-changes:42845] yui-knk:r54919 (trunk): * test/ruby/test_complexrational.rb: Remove duplicated raise.

yui-knk	2016-05-05 18:06:39 +0900 (Thu, 05 May 2016)

  New Revision: 54919

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

  Log:
    * test/ruby/test_complexrational.rb: Remove duplicated raise.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_complexrational.rb
Index: test/ruby/test_complexrational.rb
===================================================================
--- test/ruby/test_complexrational.rb	(revision 54918)
+++ test/ruby/test_complexrational.rb	(revision 54919)
@@ -273,7 +273,7 @@ class SimpleRat < Numeric https://github.com/ruby/ruby/blob/trunk/test/ruby/test_complexrational.rb#L273
       self.class.new(a, b)
     when Integer
       if o == 0
-	raise raise ZeroDivisionError, "divided by zero"
+        raise ZeroDivisionError, "divided by zero"
       end
       self.quo(self.class.new(o))
     when Float
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54918)
+++ ChangeLog	(revision 54919)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu May  5 18:08:31 2016  Yuichiro Kaneko  <yui-knk@r...>
+
+	* test/ruby/test_complexrational.rb: Remove duplicated raise.
+
 Thu May  5 14:41:05 2016  Yuichiro Kaneko  <yui-knk@r...>
 
 	* string.c (rb_str_sub): Fix a special match variable name.

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

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