Skip to content

Commit

Permalink
test(find): Adds failing test for court string without space (freelaw…
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdahl committed Jul 6, 2023
1 parent 785a1fe commit 3fb350d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_FindTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ def test_find_citations(self):
'defendant': 'test',
'court': 'ca4',
'pin_cite': '347-348'})]),
# Test with court string without space
('bob lissner v. test 1 U.S. 12, 347-348 (Pa.Super. 1982)',
[case_citation(page='12', year=1982,
metadata={'plaintiff': 'lissner',
'defendant': 'test',
'court': 'pasuperct',
'pin_cite': '347-348'})]),
# Parallel cite with parenthetical
('bob lissner v. test 1 U.S. 12, 347-348, 1 S. Ct. 2, 358 (4th Cir. 1982) (overruling foo)',
[case_citation(page='12', year=1982,
Expand Down

0 comments on commit 3fb350d

Please sign in to comment.