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 | a22221caca368f015e7adf86a94b6738051215e5 (patch) | |
tree | ab8e12331d625798c22c0d4c74b8b6786e8ad1ba /test/ruby/test_complexrational.rb | |
parent | 6112b290037533383811e328f26759320d036d60 (diff) | |
download | ruby-a22221caca368f015e7adf86a94b6738051215e5.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
Diffstat (limited to 'test/ruby/test_complexrational.rb')
-rw-r--r-- | test/ruby/test_complexrational.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |