Skip to content

Commit 51092e3

Browse files
committed
Not sure how these "in result" ended up inside the parenthesized content
1 parent 52b9955 commit 51092e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_builders/test_build_latex.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,12 +982,11 @@ def test_reference_in_caption_and_codeblock_in_footnote(app):
982982
assert '\\chapter{The section with a reference to {[}AuthorYear{]}}' in result
983983
assert (
984984
'\\sphinxcaption{The table title with a reference'
985-
' to {[}AuthorYear{]}}' in result
986-
)
985+
' to {[}AuthorYear{]}}'
986+
) in result
987987
assert (
988988
'\\subsubsection*{The rubric title with a reference to {[}AuthorYear{]}}'
989-
in result
990-
)
989+
) in result
991990
assert (
992991
'\\chapter{The section with a reference to \\sphinxfootnotemark[6]}\n'
993992
'\\label{\\detokenize{index:the-section-with-a-reference-to}}'

0 commit comments

Comments
 (0)