def METHOD_NAME(
    default_rules_collection: RulesCollection,
    exclude_path: str,
) -> None:
    """Test that globs work."""
    runner = Runner(
        "examples/playbooks",
        rules=default_rules_collection,
        exclude_paths=[exclude_path],
    )
    matches = runner.run()
    # we expect to find one match from the very few .yaml file we have there (most of them have .yml extension)
    assert len(matches) == 1