diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-05 09:06:39 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-05 09:06:39 +0000 |
commit | 383524a8aac3f3fd89ec6019b812c826789a14f5 (patch) | |
tree | ab8e12331d625798c22c0d4c74b8b6786e8ad1ba | |
parent | bea72f2d16a8c260ef349073e355fa9a405b3494 (diff) | |
download | ruby-383524a8aac3f3fd89ec6019b812c826789a14f5.tar.gz |
* test/ruby/test_complexrational.rb: Remove duplicated raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/ruby/test_complexrational.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu May 5 18:08:31 2016 Yuichiro Kaneko <yui-knk@ruby-lang.org> + + * test/ruby/test_complexrational.rb: Remove duplicated raise. + Thu May 5 14:41:05 2016 Yuichiro Kaneko <yui-knk@ruby-lang.org> * string.c (rb_str_sub): Fix a special match variable name. diff --git a/test/ruby/test_complexrational.rb b/test/ruby/test_complexrational.rb index 7c80e1a295..1e7622a351 100644 --- a/test/ruby/test_complexrational.rb +++ b/test/ruby/test_complexrational.rb @@ -273,7 +273,7 @@ class SimpleRat < Numeric 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 |