Skip to content

Commit 30a295e

Browse files
committed
correct some spelling
1 parent 596e4f5 commit 30a295e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

robotcode/debugger/debugger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def __init__(self) -> None:
221221

222222
self.exception_breakpoints: Set[ExceptionBreakpointsEntry] = set()
223223
self.exception_breakpoints.add(
224-
ExceptionBreakpointsEntry((), (ExceptionFilterOptions("uncaughted_failed_keyword"),), ())
224+
ExceptionBreakpointsEntry((), (ExceptionFilterOptions("uncaught_failed_keyword"),), ())
225225
)
226226

227227
self.main_thread: Optional[threading.Thread] = None
@@ -831,7 +831,7 @@ def end_keyword(self, name: str, attributes: Dict[str, Any]) -> None:
831831
if status == "FAIL" and type in ["KEYWORD", "SETUP", "TEARDOWN"]:
832832
self.process_end_state(
833833
status,
834-
{"failed_keyword", *({"uncaughted_failed_keyword"} if self.in_caughted_keyword() else {})},
834+
{"failed_keyword", *({"uncaught_failed_keyword"} if self.in_caughted_keyword() else {})},
835835
"Keyword failed.",
836836
f"Keyword failed: {self.last_fail_message}" if self.last_fail_message else "Keyword failed.",
837837
)
@@ -1200,7 +1200,7 @@ def set_exception_breakpoints(
12001200

12011201
if filter_options is not None:
12021202
for option in filter_options:
1203-
if option.filter_id in ["failed_keyword", "uncaughted_failed_keyword", "failed_test", "failed_suite"]:
1203+
if option.filter_id in ["failed_keyword", "uncaught_failed_keyword", "failed_test", "failed_suite"]:
12041204
entry = ExceptionBreakpointsEntry(
12051205
tuple(filters),
12061206
tuple(filter_options) if filter_options is not None else None,

robotcode/debugger/launcher/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ async def _initialize(self, arguments: InitializeRequestArguments, *args: Any, *
9797
default=False,
9898
),
9999
ExceptionBreakpointsFilter(
100-
filter="uncaughted_failed_keyword",
101-
label="Uncaughted Failed Keywords",
102-
description="Breaks on uncaughted failed keywords",
100+
filter="uncaught_failed_keyword",
101+
label="Uncaught Failed Keywords",
102+
description="Breaks on uncaught failed keywords",
103103
default=True,
104104
),
105105
ExceptionBreakpointsFilter(

0 commit comments

Comments
 (0)