Skip to content

Commit e20efe8

Browse files
chore(pre-commit): autofix run
1 parent 980e24d commit e20efe8

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

tests/test_format.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,10 @@ def test_match(conventional_commit):
546546

547547

548548
def test_match_multiline(conventional_commit):
549-
match = conventional_commit.match(
550-
"""test(scope): subject line
549+
match = conventional_commit.match("""test(scope): subject line
551550
552551
body copy
553-
"""
554-
)
552+
""")
555553
assert isinstance(match, re.Match)
556554
assert match.group("type") == "test"
557555
assert match.group("scope") == "(scope)"
@@ -571,12 +569,10 @@ def test_match_dots(conventional_commit):
571569

572570

573571
def test_match_invalid_type(conventional_commit):
574-
match = conventional_commit.match(
575-
"""invalid(scope): subject line
572+
match = conventional_commit.match("""invalid(scope): subject line
576573
577574
body copy
578-
"""
579-
)
575+
""")
580576
assert isinstance(match, re.Match)
581577
assert match.group("type") is None
582578
assert match.group("scope") == ""

0 commit comments

Comments
 (0)