summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_complex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb
index 3a9bad1416..8817a62873 100644
--- a/test/ruby/test_complex.rb
+++ b/test/ruby/test_complex.rb
@@ -980,7 +980,7 @@ class Complex_Test < Test::Unit::TestCase
}
end
- def assert_complex_with_exception(error, *args, message: nil)
+ def assert_complex_with_exception(error, *args, message: "")
assert_raise(error, message) do
Complex(*args, exception: true)
end