From 09985d5c10d3b519ac45dc855846b5936a281afd Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 22 Oct 2024 13:40:14 +0100 Subject: [PATCH] snapshot --- .../snapshot_tests/snapshot_apps/split_segments.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/snapshot_tests/snapshot_apps/split_segments.py diff --git a/tests/snapshot_tests/snapshot_apps/split_segments.py b/tests/snapshot_tests/snapshot_apps/split_segments.py new file mode 100644 index 0000000000..cb80b63e84 --- /dev/null +++ b/tests/snapshot_tests/snapshot_apps/split_segments.py @@ -0,0 +1,14 @@ +from textual.app import App, ComposeResult +from textual.widgets import TextArea + +FAIL_TEXT = "x " + + +class CodeApp(App): + def compose(self) -> ComposeResult: + yield TextArea(FAIL_TEXT, soft_wrap=False, show_line_numbers=True) + + +if __name__ == "__main__": + app = CodeApp() + app.run()