From 148a557cc7874085fb65ff040a099fd458be7c08 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 10 Feb 2023 13:19:53 -0800 Subject: [PATCH] Avoid memberless Struct Related to Ruby bug 19416. --- test/console/color_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/console/color_test.rb b/test/console/color_test.rb index 65600c253..8f62dce45 100644 --- a/test/console/color_test.rb +++ b/test/console/color_test.rb @@ -94,7 +94,7 @@ def test_colorize_does_not_color_string_if_do_not_use_colorize CONFIG[:no_color] = nil end - SESSION_class = Struct.new('SESSION') + SESSION_class = Struct.new('SESSION', :a) private