Refactor test messages for clarity and consistency in regex tests

This commit is contained in:
Ben Meadors
2026-04-19 06:24:27 -05:00
parent f9f450977b
commit e3bdb5830b
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -75,6 +75,6 @@ class TestRegexAnchoring:
assert FRAME_RE.search("Screen: frame 0/0 name=home reason=next") is not None
def test_regex_allows_unusual_names(self) -> None:
"""Name is `\\S+`, so compound names with underscores/digits match."""
r"""Name is `\S+`, so compound names with underscores/digits match."""
m = FRAME_RE.search("Screen: frame 5/10 name=nodelist_hopsignal reason=fn_f2")
assert m is not None and m["name"] == "nodelist_hopsignal"