def METHOD_NAME() -> None:
    """Negative test for deprecated-bare-vars."""
    collection = RulesCollection()
    collection.register(UsingBareVariablesIsDeprecatedRule())
    failure = "examples/playbooks/rule-deprecated-bare-vars-fail.yml"
    bad_runner = Runner(failure, rules=collection)
    errs = bad_runner.run()
    assert len(errs) == 11