]> 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:07:13 +0000 (15:07 -0700)
commit5a11279cc54e7f9f5d168c75728f990d0bd0b694
tree9ea343c93dcf8aaf283739cb3004f5826427ddcb
parent96e19d05f3b07a12a3a965e7d2ec90cacf25cccc
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