diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-27 20:05:01 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-27 20:05:05 +0100 |
commit | cf9f7a6b7e4ede7edd612fde33f7149f9c7f3385 (patch) | |
tree | 45e3ea607843a0ec02670cb5172d2951ac46dc50 /spec/functions/abs_spec.rb | |
parent | b4090184c76666e58694aa4f09a39be009a42f5f (diff) | |
download | puppet-stdlib-cf9f7a6b7e4ede7edd612fde33f7149f9c7f3385.tar.gz puppet-stdlib-cf9f7a6b7e4ede7edd612fde33f7149f9c7f3385.tar.bz2 |
validate_integer, validate_numeric: explicitely reject hashes in arrays
Without this patch, Ruby 1.8's Hash#to_s behaviour causes [{1=>2}] to be
treated as "12" when validating values.
Diffstat (limited to 'spec/functions/abs_spec.rb')
0 files changed, 0 insertions, 0 deletions