Regression text for https://github.com/Textualize/rich/issues/3479
()
| 1084 | |
| 1085 | |
| 1086 | def test_append_loop_regression() -> None: |
| 1087 | class="st">""class="st">"Regression text for https://github.com/Textualize/rich/issues/3479"class="st">"" |
| 1088 | a = Text(class="st">"one", class="st">"blue") |
| 1089 | a.append(a) |
| 1090 | assert a.plain == class="st">"oneone" |
| 1091 | |
| 1092 | b = Text(class="st">"two", class="st">"blue") |
| 1093 | b.append_text(b) |
| 1094 | assert b.plain == class="st">"twotwo" |
| 1095 | |
| 1096 | |
| 1097 | def test_soft_wrap() -> None: |
nothing calls this directly
no test coverage detected