diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-10 00:32:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 00:32:26 +0900 |
commit | fe6d95e4294f47d61f1a04a1f8c6567c9802f504 (patch) | |
tree | 33a7143bf1dcf60830c2e1fcd4b396175af45e64 /tests/test_theming.py | |
parent | 7327e56dff865d4766c43d46405ae827e10fd6c3 (diff) | |
parent | ce5d66e618c111b115a9bb7b1401a26483fcfa8f (diff) | |
download | sphinx-git-fe6d95e4294f47d61f1a04a1f8c6567c9802f504.tar.gz |
Merge branch 'master' into patch-1
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 0dded0725..be0afe522 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 |