mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix test
This commit is contained in:
parent
6aa2d05111
commit
91f90a5fb5
@ -1,4 +1,4 @@
|
||||
Regression test for issue 10495
|
||||
===============================
|
||||
|
||||
:kbd:`test - test`
|
||||
:kbd:`spanish - inquisition`
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user