ruby-changes:67078
From: aycabta <ko1@a...>
Date: Sun, 8 Aug 2021 15:42:49 +0900 (JST)
Subject: [ruby-changes:67078] ca2dd6d35a (master): Use #full_message instead of #backtrace_locations
https://git.ruby-lang.org/ruby.git/commit/?id=ca2dd6d35a From ca2dd6d35a09dca1c23908193420c9148b254e8a Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 8 Aug 2021 15:42:48 +0900 Subject: Use #full_message instead of #backtrace_locations --- test/readline/test_readline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 196429d..a8eb136 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -542,7 +542,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L542 end end rescue Timeout::Error => e - assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.backtrace_locations.join("\n")}\n----" + assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.full_message(highlight: false)}\n----" asserted = true end [log, Process.wait2(pid)[1]] -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/