Skip to content

Commit

Permalink
Add regression test note
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 1, 2023
1 parent 4555def commit 8d6507b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@ def test_wrap_cjk_width_mid_character():


def test_wrap_cjk_mixed():
"""Regression test covering https://github.com/Textualize/rich/issues/3176 and
https://github.com/Textualize/textual/issues/3567 - double width characters could
result in text going missing when wrapping."""
text = Text("123ありがとうございました")
console = Console(width=20) # let's ensure the width passed to wrap() wins.

Expand Down

0 comments on commit 8d6507b

Please sign in to comment.