home · contact · privacy
In testing, ignore empty lines.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 20 Oct 2025 22:39:55 +0000 (00:39 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 20 Oct 2025 22:39:55 +0000 (00:39 +0200)
src/ircplom/testing.py

index eab70645b95e95f0233b7b9ec3d5be8d77939f48..36e3d7af6b62d13c8d48c7a2e25ed7e21da983fc 100644 (file)
@@ -256,7 +256,7 @@ class _Playbook:
                  ) for insert_t in inserts]
 
         self._lines_t = [line_t for line_t in self._lines_t
-                         if line_t[1]
+                         if line_t[1].rstrip()
                          and not line_t[1].startswith(_MARK_COMMENT)]
         expand_parsed(_MARK_LOGSRVRMSG, split_server_put_and_log)
         while True: