[rtems-central commit] validation: Fix typos

Sebastian Huber sebh at rtems.org
Thu Aug 20 14:13:13 UTC 2020


Module:    rtems-central
Branch:    master
Commit:    65d5906d3bb1f6190051e30e4a6898ad859c2912
Changeset: http://git.rtems.org/rtems-central/commit/?id=65d5906d3bb1f6190051e30e4a6898ad859c2912

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Aug 14 07:25:53 2020 +0200

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 dec6999..0ababc1 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)



More information about the vc mailing list