This commit is contained in:
Adam Turner 2022-06-01 00:50:41 +01:00
parent 6aa2d05111
commit 91f90a5fb5
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Regression test for issue 10495
===============================
:kbd:`test - test`
:kbd:`spanish - inquisition`

View File

@ -55,4 +55,5 @@ def test_missing_reference_conditional_pending_xref(app, status, warning):
def test_keyboard_issue_10495(app):
"""Regression test for issue 10495, we want no crash."""
app.build()
assert "blah" in (app.outdir / 'index.html').read_text(encoding='utf8')
assert "spanish" in (app.outdir / 'index.html').read_text(encoding='utf8')
assert "inquisition" in (app.outdir / 'index.html').read_text(encoding='utf8')