@@ -166,7 +166,7 @@ def test_strip_comments__spaced():
166166
167167
168168def test_r_verbose_commit_ignored__does_not_match_no_verbose ():
169- regex = re .compile (format .r_verbose_commit_ignored (), re .MULTILINE )
169+ regex = re .compile (format .r_verbose_commit_ignored (), re .DOTALL | re . MULTILINE )
170170 input = """feat: some commit message
171171# Please enter the commit message for your changes. Lines starting
172172# with '#' will be ignored, and an empty message aborts the commit.
@@ -186,7 +186,7 @@ def test_r_verbose_commit_ignored__does_not_match_no_verbose():
186186
187187
188188def test_r_verbose_commit_ignored__matches_single_verbose_ignored ():
189- regex = re .compile (format .r_verbose_commit_ignored (), re .MULTILINE )
189+ regex = re .compile (format .r_verbose_commit_ignored (), re .DOTALL | re . MULTILINE )
190190 input = """feat: some commit message
191191# Please enter the commit message for your changes. Lines starting
192192# with '#' will be ignored, and an empty message aborts the commit.
@@ -218,7 +218,7 @@ def test_r_verbose_commit_ignored__matches_single_verbose_ignored():
218218
219219
220220def test_r_verbose_commit_ignored__matches_double_verbose_ignored ():
221- regex = re .compile (format .r_verbose_commit_ignored (), re .MULTILINE )
221+ regex = re .compile (format .r_verbose_commit_ignored (), re .DOTALL | re . MULTILINE )
222222 input = """feat: some commit message
223223# Please enter the commit message for your changes. Lines starting
224224# with '#' will be ignored, and an empty message aborts the commit.
0 commit comments