We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3792a0 commit fb995e1Copy full SHA for fb995e1
src/towncrier/test/test_format.py
@@ -477,16 +477,19 @@ def test_trailing_block(self) -> None:
477
0,
478
): (
479
"this fragment has a trailing code block::\n\n"
480
- "def foo(): ...\n\n \n def bar(): ..."
+ " def foo(): ...\n\n"
481
+ " \n"
482
+ " def bar(): ..."
483
),
484
(
485
"2",
486
"feature",
487
488
489
"this block is not trailing::\n\n"
- "def foo(): ...\n def bar(): ..."
- "\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"
493
494
}
495
0 commit comments