-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
Description
Passing in an unused value that is an empty array causes an entertaining failure.
Expander.expand()
replaces the corresponding key with an empty array:
values = values.each_with_object({}){ |(key, value), new_hash| |
Then the mapping throws an error, which is "handled" by Expander.error_for()
which attempts to sort the keys, naturally causing "ArgumentError - comparison of Symbol with Array"