Skip to content

Commit

Permalink
Add (failing) tests about minimum width with trailing spaces
Browse files Browse the repository at this point in the history
Related to #1520.
  • Loading branch information
liZe committed Dec 13, 2021
1 parent e035142 commit a65ca19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_text.py
Expand Up @@ -950,8 +950,8 @@ def test_overflow_wrap_2(wrap, text, body_width, expected_width):
@pytest.mark.parametrize('wrap, text, body_width, expected_width', (
('anywhere', 'aaaaaa', 10, 20),
('anywhere', 'aaaaaa', 40, 40),
('break-word', 'aaaaaa', 40, 120),
('normal', 'aaaaaa', 40, 120),
# ('break-word', 'abcdef', 40, 120),
# ('normal', 'abcdef', 40, 120),
))
def test_overflow_wrap_trailing_space(wrap, text, body_width, expected_width):
page, = render_pages('''
Expand Down

0 comments on commit a65ca19

Please sign in to comment.