def METHOD_NAME(rule_runner: RunFromText) -> None:
    """Test rule matches."""
    results = rule_runner.run(
        Path("examples/roles/meta_no_tags_valid/meta/main.yml"),
    )
    assert "Use 'galaxy_tags' rather than 'categories'" in str(results), results
    assert "Expected 'categories' to be a list" in str(results)
    assert "invalid: 'my s q l'" in str(results)
    assert "invalid: 'MYTAG'" in str(results)