mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix checking wrong highlighter
This commit is contained in:
parent
81fe5f8477
commit
44fbd39ab2
@ -120,7 +120,7 @@ def test_staticfiles(app, status, warning):
|
||||
@pytest.mark.sphinx(testroot='theming',
|
||||
confoverrides={'html_theme': 'test-theme'})
|
||||
def test_staticfiles(app, status, warning):
|
||||
style = app.builder.highlighter.formatter_args.get('style')
|
||||
style = app.builder.dark_highlighter.formatter_args.get('style')
|
||||
assert style.__name__ == 'MonokaiStyle'
|
||||
|
||||
app.build()
|
||||
|
Loading…
Reference in New Issue
Block a user