Skip to content

Commit

Permalink
Fix restrictMismatchedBrackets "none" test. (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-hughes authored Mar 31, 2024
1 parent 721c907 commit 1869ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/typing.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ suite('typing with auto-replaces', function () {
});
});

test('restrictMismatchedBrackets: "none"', function () {
suite('restrictMismatchedBrackets: "none"', function () {
setup(function () {
mq.config({ restrictMismatchedBrackets: 'none' });
});
Expand All @@ -438,7 +438,7 @@ suite('typing with auto-replaces', function () {
test('[a,b) and (a,b] do not match', function () {
mq.typedText('[a,b) + (a,b]');
assertLatex(
'\\left[\\left(x\\right)\\right]\\ +\\ \\left(\\left[x\\right]\\right)'
'\\left[\\left(a,b\\right)\\ +\\ \\left(\\left[a,b\\right]\\right)\\right]'
);
});
});
Expand Down

0 comments on commit 1869ee2

Please sign in to comment.