From a87b4b6bc3dc654060394c8ca0779b1c393e4482 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 5 May 2025 22:23:18 +0900 Subject: [PATCH] test/exception.rb: update for new Exception#inspect --- test/t/exception.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t/exception.rb b/test/t/exception.rb index 15da753df..2a95a8acf 100644 --- a/test/t/exception.rb +++ b/test/t/exception.rb @@ -355,7 +355,7 @@ end assert('Exception#inspect') do assert_equal "Exception", Exception.new.inspect assert_equal "Exception", Exception.new("").inspect - assert_equal "error! (Exception)", Exception.new("error!").inspect + assert_equal "#", Exception.new("error!").inspect end assert('Exception#backtrace') do