aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--test/ruby/test_complexrational.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fcd36bbdf..920a8016b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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