Skip to content

Commit

Permalink
Avoid memberless Struct
Browse files Browse the repository at this point in the history
Related to Ruby bug 19416.
  • Loading branch information
jeremyevans authored and ko1 committed Mar 7, 2023
1 parent 2b418df commit 003526b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/console/color_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 003526b

Please sign in to comment.