summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorJohn Meade <john.meade@zendesk.com>2024-09-09 15:22:14 +0100
committergit <svn-admin@ruby-lang.org>2024-09-11 17:19:18 +0000
commitefc77d535b1a0eab02af98e72f2e40ab295ee2e1 (patch)
treeccc273b208fac188fe3b5660ae39e834f2d16250 /test/ruby/test_lambda.rb
parent818e20359f0415413de2888b1e6233f574882471 (diff)
[ruby/psych] Ensure strings with only underscores are not processed as Integer
A string similar to "0x____" should be treated as a string. Currently it is processed as an Integer. This alters the regex specified by http://yaml.org/type/int.html to ensure at least one numerical symbol is present in the string before converting to Integer. https://github.com/ruby/psych/commit/81479b203e
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions