From 5af48cf213453f763c3e3d9291e9580b70874654 Mon Sep 17 00:00:00 2001 From: Aaruni Kaushik Date: Wed, 16 Mar 2022 21:15:20 +0100 Subject: [PATCH] Add test for the new feature --- test/katex-spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/katex-spec.js b/test/katex-spec.js index 15cd8a2946..5c989b3830 100644 --- a/test/katex-spec.js +++ b/test/katex-spec.js @@ -1255,6 +1255,10 @@ describe("A begin/end parser", function() { expect`\begin{array}{cc}a&b\\c&d\end{array}`.toParse(); }); + it("should parse an environment with argument in repetition format", function() { + expect`\begin{array}{*{35}{l}} x+y\le 12, \ 2x-y\ge 0, \ x-2y\le 0\end{array}`.toParse(); + }); + it("should parse and build an empty environment", function() { expect`\begin{aligned}\end{aligned}`.toBuild(); expect`\begin{matrix}\end{matrix}`.toBuild();