summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-10-06 17:17:51 +0200
committerGuido Günther <agx@sigxcpu.org>2014-10-08 10:11:32 +0200
commitc5cc97362a9f595fe80f65f13d176589ffd62f14 (patch)
tree424aae698473786939e255a5d3cfd23333a2c623 /lib
parentb71d5617db54c55afa89cba1f003d30fa88af2a9 (diff)
validate_nonemptyarray_msg: Fix error message
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/parser/functions/validate_nonemptyarray_msg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/validate_nonemptyarray_msg.rb b/lib/puppet/parser/functions/validate_nonemptyarray_msg.rb
index 4a787dd..49a1470 100644
--- a/lib/puppet/parser/functions/validate_nonemptyarray_msg.rb
+++ b/lib/puppet/parser/functions/validate_nonemptyarray_msg.rb
@@ -18,7 +18,7 @@ module Puppet::Parser::Functions
ENDHEREDOC
unless args.length == 2 then
- raise Puppet::ParseError, ("validate_nonemptyarray(): wrong number of arguments (#{args.length}; must be > 0)")
+ raise Puppet::ParseError, ("validate_nonemptyarray_msg(): wrong number of arguments (#{args.length}; must be == 2)")
end
arg = args[0]