diff options
Diffstat (limited to 'tests/test_theming.py')
-rw-r--r-- | tests/test_theming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_theming.py b/tests/test_theming.py index 9d447537c..3b5d59ec6 100644 --- a/tests/test_theming.py +++ b/tests/test_theming.py @@ -127,7 +127,7 @@ def test_dark_style(app, status, warning): assert (app.outdir / '_static' / 'pygments_dark.css').exists() result = (app.outdir / 'index.html').read_text() - assert '<link rel="stylesheet" href="_static/pygments.css" type="text/css" />' in result + assert '<link rel="stylesheet" type="text/css" href="_static/pygments.css" />' in result assert ('<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" ' 'rel="stylesheet" type="text/css" ' 'href="_static/pygments_dark.css" />') in result |