Skip to content

Commit

Permalink
Update test/lib/ansible_test/_data/sanity/validate-modules/validate_m…
Browse files Browse the repository at this point in the history
…odules/main.py

Co-Authored-By: Sam Doran <sdoran@redhat.com>
  • Loading branch information
felixfontein and samdoran committed Feb 17, 2020
1 parent 8839b5b commit 1965cb7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1196,7 +1196,7 @@ def _validate_required_if(self, terms, spec, context, module):
msg = "required_if"
if context:
msg += " found in %s" % " -> ".join(context)
msg += " must have forth value omitted or of type bool; got %r" % (check[3], )
msg += " must omit fourth value or it must be type bool; got %r" % (check[3], )
self.reporter.error(
path=self.object_path,
code='required_if-is_one_of-type',
Expand Down

0 comments on commit 1965cb7

Please sign in to comment.