]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Fix number of arguments check in flatten()
authorUwe Stuehler <ustuehler@team.mobile.de>
Tue, 23 Oct 2012 14:43:03 +0000 (16:43 +0200)
committerAdrien Thebo <git@somethingsinistral.net>
Mon, 18 Mar 2013 22:04:50 +0000 (15:04 -0700)
commite80207bede37e498c32bea6d56c46f1dd709721e
treee20db53336a3034205263d09d7f6bbf0eec1df2e
parent1e2ee5bd01b85258548bb7c0aabe4ce0938b2560
Fix number of arguments check in flatten()

The function only uses the first argument, so raise an error with
too few arguments *and* with too many arguments.
lib/puppet/parser/functions/flatten.rb
spec/unit/puppet/parser/functions/flatten_spec.rb