summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/values.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2012-03-29 15:12:06 -0700
committerJeff McCune <jeff@puppetlabs.com>2012-03-29 15:17:30 -0700
commit61891bbe6112b580043e9d8c256f722a6add9492 (patch)
tree2f36806174ae5c791ed5453fd2bcbaf55993f417 /lib/puppet/parser/functions/values.rb
parent46401caef6e00708867d09319985528c39636ba2 (diff)
(#13494) Specify the behavior of zero padded strings
Without this patch the specified behavior of strings that are numeric only and zero padded is unclear and untested in the spec tests. This is a problem because it's not clear that range('00', '10') will actually return [ "0", "1", ..., "10" ] instead of [ "00", "01", ..., "10" ] This patch addresses the issue by providing explicit test coverage. If the string conversion behavior of puppet changes, this test will begin to fail.
Diffstat (limited to 'lib/puppet/parser/functions/values.rb')
0 files changed, 0 insertions, 0 deletions