Skip to content

Commit b664391

Browse files
committed
wording
1 parent bf30988 commit b664391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/dom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,7 @@ def query_exactly_one(
15611561
continue
15621562
if expect_type is not None and not isinstance(node, expect_type):
15631563
raise WrongType(
1564-
f"Node matching {query_selector!r} is the wrong type; expect type {expect_type.__name__!r}; found {node}"
1564+
f"Node matching {query_selector!r} is the wrong type; expected type {expect_type.__name__!r}; found {node}"
15651565
)
15661566
for later_node in iter_children:
15671567
if match(selector_set, later_node):

0 commit comments

Comments
 (0)