Skip to content

Commit c98ed35

Browse files
committed
Add tests for brace mismatches
1 parent abf2652 commit c98ed35

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,20 @@ describe('Braket', () => {
665665

666666
/********************************************************************************/
667667

668+
it('Braket-braces', () => {
669+
expectTexError('\\braket{')
670+
.toBe('Missing close brace');
671+
});
672+
673+
/********************************************************************************/
674+
675+
it('Braket-braces', () => {
676+
expectTexError('\\braket}')
677+
.toBe('Extra close brace or missing open brace');
678+
});
679+
680+
/********************************************************************************/
681+
668682
});
669683

670684
/**********************************************************************************/

0 commit comments

Comments
 (0)