Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit c4b6966

Browse files
committed
add comment
1 parent d0ba4ad commit c4b6966

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/utils/test_lines.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,7 @@ def test_wrap_indent_short():
8888
def test_wrap_short_line_preserved():
8989
assert lines.wrap('foo\nbar\nbaz', width=80) == 'foo\nbar\nbaz'
9090

91+
# Test that lines.wrap does not break hyphenated words
92+
# to avoid splitting up hyperlinks.
9193
def test_wrap_does_not_break_hyphenated_word():
9294
assert lines.wrap('do-not-break', width=5) == 'do-not-break'

0 commit comments

Comments
 (0)