Skip to content

Commit b7a7df3

Browse files
committed
add missing backslash with change in test result
1 parent 689e6d3 commit b7a7df3

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

testsuite/tests/input/tex/Base.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3448,7 +3448,7 @@ describe('Linebreaks', () => {
34483448
});
34493449

34503450
it('allowbreak cdot', () => {
3451-
expect(tex2mml('a\\allowbreak \cdot b')).toMatchSnapshot();
3451+
expect(tex2mml('a\\allowbreak \\cdot b')).toMatchSnapshot();
34523452
});
34533453

34543454
it('goodbreak', () => {

testsuite/tests/input/tex/__snapshots__/Base.test.ts.snap

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4480,13 +4480,10 @@ exports[`Linebreaks allowbreak 1`] = `
44804480
`;
44814481
44824482
exports[`Linebreaks allowbreak cdot 1`] = `
4483-
"<math xmlns="http://www.w3.org/1998/Math/MathML" data-latex="a\\allowbreak cdot b" display="block">
4483+
"<math xmlns="http://www.w3.org/1998/Math/MathML" data-latex="a\\allowbreak \\cdot b" display="block">
44844484
<mi data-latex="a">a</mi>
44854485
<mspace data-latex="\\allowbreak"></mspace>
4486-
<mi data-latex="c">c</mi>
4487-
<mi data-latex="d">d</mi>
4488-
<mi data-latex="o">o</mi>
4489-
<mi data-latex="t">t</mi>
4486+
<mo data-latex="\\cdot">&#x22C5;</mo>
44904487
<mi data-latex="b">b</mi>
44914488
</math>"
44924489
`;

0 commit comments

Comments
 (0)