Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jan 22, 2022
1 parent d0ba4ad commit c4b6966
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/utils/test_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ def test_wrap_indent_short():
def test_wrap_short_line_preserved():
assert lines.wrap('foo\nbar\nbaz', width=80) == 'foo\nbar\nbaz'

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

0 comments on commit c4b6966

Please sign in to comment.