Fix a spelling typo in tests (s/änhlich/ähnlich)

This commit is contained in:
jfbu 2021-12-22 12:44:28 +01:00
parent 2d1ed64714
commit 4235195e77
3 changed files with 4 additions and 4 deletions

View File

@ -18,5 +18,5 @@ test-glossary
über
Gewisse
änhlich
ähnlich
Dinge

View File

@ -352,7 +352,7 @@ This tests :CLASS:`role names in uppercase`.
über
Gewisse
änhlich
ähnlich
Dinge
.. productionlist::

View File

@ -1454,9 +1454,9 @@ def test_latex_glossary(app, status, warning):
app.builder.build_all()
result = (app.outdir / 'python.tex').read_text()
assert ('\\item[{änhlich\\index{änhlich@\\spxentrynhlich}|spxpagem}'
assert ('\\item[{ähnlich\\index{ähnlich@\\spxentryhnlich}|spxpagem}'
r'\phantomsection'
r'\label{\detokenize{index:term-anhlich}}}] \leavevmode' in result)
r'\label{\detokenize{index:term-ahnlich}}}] \leavevmode' in result)
assert (r'\item[{boson\index{boson@\spxentry{boson}|spxpagem}\phantomsection'
r'\label{\detokenize{index:term-boson}}}] \leavevmode' in result)
assert (r'\item[{\sphinxstyleemphasis{fermion}'