From: Christian Heller Date: Tue, 30 Sep 2025 23:12:36 +0000 (+0200) Subject: On testing, actually interpret TUI test of empty "> " prompt entering. X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=3c417e2a6d2c3bce46b43f95ac2594db253647b1;p=ircplom On testing, actually interpret TUI test of empty "> " prompt entering. --- 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] = []