From 1869ee26dc043cd6f4f3be6d1314dce2cc281d7e Mon Sep 17 00:00:00 2001 From: Jared Hughes Date: Sat, 30 Mar 2024 18:07:45 -0700 Subject: [PATCH] Fix restrictMismatchedBrackets "none" test. (#280) --- test/unit/typing.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/typing.test.js b/test/unit/typing.test.js index 5218058da..79e4a61cc 100644 --- a/test/unit/typing.test.js +++ b/test/unit/typing.test.js @@ -417,7 +417,7 @@ suite('typing with auto-replaces', function () { }); }); - test('restrictMismatchedBrackets: "none"', function () { + suite('restrictMismatchedBrackets: "none"', function () { setup(function () { mq.config({ restrictMismatchedBrackets: 'none' }); }); @@ -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]' ); }); });