mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix testing for jQuery-1.11.1
This commit is contained in:
parent
c608af4bab
commit
ab91342bb1
@ -66,7 +66,7 @@ def test_js_source(app, status, warning):
|
|||||||
|
|
||||||
app.builder.build(['contents'])
|
app.builder.build(['contents'])
|
||||||
|
|
||||||
v = '1.8.3'
|
v = '1.11.1'
|
||||||
msg = 'jquery.js version does not match to {v}'.format(v=v)
|
msg = 'jquery.js version does not match to {v}'.format(v=v)
|
||||||
jquery_min = (app.outdir / '_static' / 'jquery.js').text()
|
jquery_min = (app.outdir / '_static' / 'jquery.js').text()
|
||||||
assert 'jQuery v{v}'.format(v=v) in jquery_min, msg
|
assert 'jQuery v{v}'.format(v=v) in jquery_min, msg
|
||||||
|
Loading…
Reference in New Issue
Block a user