From 65d5906d3bb1f6190051e30e4a6898ad859c2912 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Aug 2020 07:25:53 +0200 Subject: validation: Fix typos --- rtemsspec/validation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsspec/validation.py b/rtemsspec/validation.py index dec69990..0ababc12 100644 --- a/rtemsspec/validation.py +++ b/rtemsspec/validation.py @@ -70,7 +70,7 @@ def _add_ingroup(content: CContent, items: List["_TestItem"]) -> None: class _TestItem: - """ A test item with a defaul implementation for test cases. """ + """ A test item with a default implementation for test cases. """ def __init__(self, item: Item): self._item = item self._ident = to_camel_case(item.uid[1:]) @@ -123,7 +123,7 @@ class _TestItem: text: Optional[str], prefix: Optional[str] = None) -> str: """ - Performs a variable substitution for text with an optinal prefix. + Performs a variable substitution for text with an optional prefix. """ if prefix: return self._text_mapper.substitute_with_prefix(text, prefix) -- cgit v1.2.3