Skip to content

Commit fb995e1

Browse files
committed
fix tests after 4a30295 deleted some spaces
1 parent c3792a0 commit fb995e1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/towncrier/test/test_format.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -477,16 +477,19 @@ def test_trailing_block(self) -> None:
477477
0,
478478
): (
479479
"this fragment has a trailing code block::\n\n"
480-
"def foo(): ...\n\n \n def bar(): ..."
480+
" def foo(): ...\n\n"
481+
" \n"
482+
" def bar(): ..."
481483
),
482484
(
483485
"2",
484486
"feature",
485487
0,
486488
): (
487489
"this block is not trailing::\n\n"
488-
"def foo(): ...\n def bar(): ..."
489-
"\n\nso we can append the issue number directly after this"
490+
" def foo(): ...\n"
491+
" def bar(): ...\n\n"
492+
"so we can append the issue number directly after this"
490493
),
491494
}
492495
}

0 commit comments

Comments
 (0)