Skip to content

Commit e9d899a

Browse files
committed
Update tests
1 parent a226f4b commit e9d899a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@ describe('MmlToken', () => {
25032503

25042504
it('Token Invalid Attribute', () => {
25052505
expectTexError('\\mmlToken{mi}[m1=true]{}')
2506-
.toBe('Invalid MathML attribute: m1=true');
2506+
.toBe('Invalid MathML attribute: m1');
25072507
});
25082508

25092509
/********************************************************************************/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ describe('NoError', () => {
288288
toXmlMatch(
289289
tex2mml('\\mmlToken{mi}[m1=true]{}'),
290290
`<math xmlns="http://www.w3.org/1998/Math/MathML" data-latex="\\mmlToken{mi}[m1=true]{}" display="block">
291-
<merror data-mjx-error="Invalid MathML attribute: m1=true" title="Invalid MathML attribute: m1=true">
291+
<merror data-mjx-error="Invalid MathML attribute: m1" title="Invalid MathML attribute: m1">
292292
<mtext>\\mmlToken{mi}[m1=true]{}</mtext>
293293
</merror>
294294
</math>`

0 commit comments

Comments
 (0)