Skip to content

Commit

Permalink
Include "role" attribute in expected HTML fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
jonels-msft committed Jun 21, 2021
1 parent 13d59bc commit e6ae41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_intl.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def test_html_meta(app):
assert expected_expr in result
expected_expr = '<meta content="I18N, SPHINX, MARKUP" name="keywords" />'
assert expected_expr in result
expected_expr = '<p class="caption"><span class="caption-text">HIDDEN TOC</span></p>'
expected_expr = '<p class="caption" role="heading"><span class="caption-text">HIDDEN TOC</span></p>'
assert expected_expr in result


Expand Down

0 comments on commit e6ae41e

Please sign in to comment.