Skip to content

Commit 7b2d700

Browse files
committed
Add an assertion to resolve a typing error
1 parent 18fc338 commit 7b2d700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test(entry):
5353
assert pattern.test(*entry["inputs"])
5454

5555
result = pattern.exec(*entry["inputs"])
56+
assert result is not None
5657
for key in entry["expected_match"]:
5758
assert result[key] == entry["expected_match"][key]
5859

0 commit comments

Comments
 (0)