summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_nonemptyarray_msg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/validate_nonemptyarray_msg.rb')
-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]