From a0f7de814ae5c299d6ce99bed5fb308a05d50ba0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 26 Feb 2024 12:29:23 +0900 Subject: [Bug #20296] Fix the default assertion message --- test/ruby/test_complex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') 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 -- cgit v1.2.3