From 3c417e2a6d2c3bce46b43f95ac2594db253647b1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 1 Oct 2025 01:12:36 +0200 Subject: [PATCH] On testing, actually interpret TUI test of empty "> " prompt entering. --- src/ircplom/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircplom/testing.py b/src/ircplom/testing.py index 8efc742..c36dd15 100644 --- a/src/ircplom/testing.py +++ b/src/ircplom/testing.py @@ -114,7 +114,7 @@ class _Playbook: def __init__(self, path: Path, get_client: Callable) -> None: self._get_client = get_client with path.open('r', encoding='utf8') as f: - self._lines = [line.rstrip() for line in f.readlines()] + self._lines = [line.rstrip('\n') for line in f.readlines()] def expand_parsed(marker, parse_into, **kwargs) -> bool: inserts: list[str] = [] -- 2.30.2