Skip to content

Commit 228c1c0

Browse files
committed
snapshot
1 parent 8633bd2 commit 228c1c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/snapshot_tests/test_snapshots.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,3 +2417,8 @@ def on_mount(self) -> None:
24172417
self.mount(Label("HELLO"))
24182418

24192419
assert snap_compare(PSApp())
2420+
2421+
2422+
def test_split_segments_infinite_loop(snap_compare):
2423+
"""Regression test for https://github.com/Textualize/textual/issues/5151"""
2424+
assert snap_compare(SNAPSHOT_APPS_DIR / "split_segments.py")

0 commit comments

Comments
 (0)