Break Up LaTeX Source on Section Macros #228
Annotations
3 errors
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#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
|
|
This job failed
Loading