Skip to content

Commit

Permalink
test(test_FindTest): add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
quevon24 committed Jan 15, 2025
1 parent ce0a409 commit 78448b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_FindTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,11 @@ def test_find_citations(self):
# Long pin cite -- make sure no catastrophic backtracking in regex
('1 U.S. 1, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2286, 2287, 2288, 2289, 2290, 2291',
[case_citation(metadata={'pin_cite': '2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2286, 2287, 2288, 2289, 2290, 2291'})]),
('Commonwealth v. Muniz, 164 A.3d 1189 (Pa. 2017)', [
case_citation(volume='164', reporter='A.3d', year=2017,
page='1189',
metadata={'plaintiff': 'Commonwealth', 'defendant': 'Muniz',
'court': 'pa'})]),
('Foo v. Bar, 1 F.Supp. 1 (SC 1967)', [case_citation(volume='1', reporter='F.Supp.', year=1967, page='1', metadata={'plaintiff': 'Foo', 'defendant': 'Bar', 'court': 'sc'})]),
)
# fmt: on
Expand Down

0 comments on commit 78448b4

Please sign in to comment.