ci(e2e): give string_leaves a single trailing return

This commit is contained in:
mateo-berri 2026-09-21 11:02:28 -07:00
parent 468f74c628
commit c8e42c2ac3

View file

@ -21,8 +21,7 @@ def string_leaves(node: JsonValue) -> tuple[str, ...]:
return tuple(leaf for child in node for leaf in string_leaves(child))
case dict():
return tuple(leaf for child in node.values() for leaf in string_leaves(child))
case _:
return ()
return ()
def field_lines(value: str) -> tuple[str, ...]: