mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Fix linefeed test (#964)
I must have been asleep when I wrote the tests for PR#949.
This commit is contained in:
@@ -2415,7 +2415,7 @@ describe("An aligned environment", function() {
|
||||
});
|
||||
|
||||
it("should not eat the last row when its first cell is empty", function() {
|
||||
const ae = getParsed("\\begin{aligned}&E_1 & (1)\\\\&E_2 & (2)\\\\E_3 & (3)\\end{aligned}")[0];
|
||||
const ae = getParsed("\\begin{aligned}&E_1 & (1)\\\\&E_2 & (2)\\\\&E_3 & (3)\\end{aligned}")[0];
|
||||
expect(ae.value.body.length).toBe(3);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user