Skip to content

Commit 003526b

Browse files
jeremyevansko1
authored andcommitted
Avoid memberless Struct
Related to Ruby bug 19416.
1 parent 2b418df commit 003526b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/console/color_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_colorize_does_not_color_string_if_do_not_use_colorize
9494
CONFIG[:no_color] = nil
9595
end
9696

97-
SESSION_class = Struct.new('SESSION')
97+
SESSION_class = Struct.new('SESSION', :a)
9898

9999
private
100100

0 commit comments

Comments
 (0)