Skip to content

Break Up LaTeX Source on Section Macros #222

Break Up LaTeX Source on Section Macros

Break Up LaTeX Source on Section Macros #222

Triggered via pull request June 28, 2024 21:07
Status Failure
Total duration 7m 26s
Artifacts

on-pull-request.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > can break on divisions in a group: packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L94
AssertionError: expected '\begin{document}\begin{_chapter}[Chap…' to deeply equal '\begin{document}\begin{_chapter}[Chap…' - Expected + Received - \begin{document}\begin{_chapter}[Chap]\begin{_paragraph}[Intro]Introduction.\begin{center}\begin{_subparagraph}[Conclusion]Conclusion.\end{_subparagraph}\end{center}\end{_paragraph}Chapter finished.\end{_chapter}\end{document} + \begin{document}\begin{_chapter}[Chap]\begin{_paragraph}[Intro]Introduction.\begin{center}\begin{_subparagraph}[Conclusion]Conclusion.\end{_subparagraph}\end{center}Chapter finished.\end{_paragraph}\end{_chapter}\end{document} ❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:94:31
packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts > unified-latex-to-pretext:break-on-boundaries > can break on divisions in nested groups: packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts#L109
AssertionError: expected { messages: [ …(2) ] } to deeply equal { messages: [ …(2) ] } - Expected + Received Object { "messages": Array [ - "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.{\\subparagraph{Conclusion}Conclusion.}} }", "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subparagraph{Conclusion}Conclusion.} }", + "Warning: hoisted out of a group, which might break the LaTeX code. { group: {\\subsection{Intro}description.\\subsubsection{body}more text.\\subparagraph{Conclusion}Conclusion.} }", ], } ❯ packages/unified-latex-to-pretext/tests/break-on-boundaries.test.ts:109:40
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x)
The operation was canceled.