From 77def3050a53e72f8255aae1c9841404d939e529 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 2 May 2024 21:35:08 +1200 Subject: [PATCH] Fix compatibility with detailed_message missing on older Ruby. --- test/console/event/failure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/console/event/failure.rb b/test/console/event/failure.rb index 5a0ed39..5af0a85 100644 --- a/test/console/event/failure.rb +++ b/test/console/event/failure.rb @@ -10,7 +10,7 @@ class TestError < StandardError def detailed_message(...) - "#{super}\nwith details" + "#{message}\nwith details" end end