summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-09-23 20:06:48 +0100
committerAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-09-24 15:10:57 +0100
commitc7c0e4048d72d4125a63ba9b83effe59d253774c (patch)
treeefe4865208480da6ffff62b7a8aae58e4d852a07 /tests/test_build_html.py
parent8db24515ea4298207a71556518e9a91bfc5ad6a3 (diff)
downloadsphinx-git-c7c0e4048d72d4125a63ba9b83effe59d253774c.tar.gz
Split out `sphinx_highlight.js`
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index c7d2daf47..0cdeb4708 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1232,7 +1232,8 @@ def test_assets_order(app):
# js_files
expected = ['_static/early.js', '_static/jquery.js', '_static/underscore.js',
- '_static/doctools.js', 'https://example.com/script.js', '_static/normal.js',
+ '_static/doctools.js', '_static/sphinx_highlight.js',
+ 'https://example.com/script.js', '_static/normal.js',
'_static/late.js', '_static/js/custom.js', '_static/lazy.js']
pattern = '.*'.join('src="%s"' % f for f in expected)
assert re.search(pattern, content, re.S)