We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf30988 commit b664391Copy full SHA for b664391
src/textual/dom.py
@@ -1561,7 +1561,7 @@ def query_exactly_one(
1561
continue
1562
if expect_type is not None and not isinstance(node, expect_type):
1563
raise WrongType(
1564
- f"Node matching {query_selector!r} is the wrong type; expect type {expect_type.__name__!r}; found {node}"
+ f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}; found {node}"
1565
)
1566
for later_node in iter_children:
1567
if match(selector_set, later_node):
0 commit comments