summaryrefslogtreecommitdiff
path: root/test/csv/write/test_general.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-07-16 10:11:35 -0700
committerMarc-Andre Lafortune <github@marc-andre.ca>2020-07-19 10:25:55 -0400
commit05bf811c2839628aaef3d565daedb28be80d47ef (patch)
tree7d698b91dbd823306db5efc752e9cae3e4f6b569 /test/csv/write/test_general.rb
parentd637208abd0ae7ccf0539679ca52df1caada4db7 (diff)
Special case Range#max for integer beginning and Float::Infinity end
Popular Ruby libraries such as Rails and Rubocop relying on the previous behavior, even though it is technically a bug. The correct behavior is probably raising RangeError, since that is what an endless range raises. Related to [Bug #17017]
Diffstat (limited to 'test/csv/write/test_general.rb')
0 files changed, 0 insertions, 0 deletions