def test_issue588(en_vocab):
    """Test if empty specs still cause an error when adding patterns"""
    matcher = Matcher(en_vocab)
    with pytest.raises(ValueError):
        matcher.add("TEST", [[]])
Test if empty specs still cause an error when adding patterns
spacy/tests/matcher/test_matcher_logic.py