diff --git a/spacy/tests/regression/test_issue1501-2000.py b/spacy/tests/regression/test_issue1501-2000.py index 6edef0702..24f725ab8 100644 --- a/spacy/tests/regression/test_issue1501-2000.py +++ b/spacy/tests/regression/test_issue1501-2000.py @@ -329,3 +329,4 @@ def test_issue_1971_4(en_vocab): matches = matcher(doc) # Uncommenting this caused a segmentation fault assert len(matches) == 1 + assert matches[0] == (en_vocab.strings["TEST"], 0, 3)