summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/test_content_sphinx.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/tests/test_content_sphinx.py')
-rw-r--r--rtemsspec/tests/test_content_sphinx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemsspec/tests/test_content_sphinx.py b/rtemsspec/tests/test_content_sphinx.py
index 85d1e151..20fa258a 100644
--- a/rtemsspec/tests/test_content_sphinx.py
+++ b/rtemsspec/tests/test_content_sphinx.py
@@ -296,7 +296,8 @@ def test_substitute(tmpdir):
with pytest.raises(ValueError, match=match):
mapper.substitute("${x:/y}")
assert mapper.substitute("${x:/term}") == ":term:`y`"
- assert mapper.substitute("${x:/plural}") == ":term:`ys <y>`"
+ assert mapper.substitute("${x:/plural}") == ":term:`ies <y>`"
+ assert mapper.substitute("${z:/plural}") == ":term:`zs <z>`"
mapper.add_get_value("other:/name", lambda ctx: ctx.value[ctx.key])
assert mapper.substitute("${y:/name}") == "foobar"
assert mapper.substitute("${a:/name}") == ":c:data:`a`"