enforce consistent object brace spacing (#1376)

This commit is contained in:
Kevin Barabash
2018-05-28 23:31:44 +02:00
committed by GitHub
parent acccce801d
commit e1614995e3
12 changed files with 29 additions and 29 deletions

View File

@@ -2307,7 +2307,7 @@ describe("An array environment", function() {
const parse = getParsed("\\begin{array}r1\\\\20\\end{array}");
expect(parse[0].type).toBe("array");
expect(parse[0].value.cols).toEqual([
{ type: "align", align: "r" },
{type: "align", align: "r"},
]);
});
@@ -2315,12 +2315,12 @@ describe("An array environment", function() {
const parse = getParsed("\\begin{array}{|l||c|}\\end{array}");
expect(parse[0].type).toBe("array");
expect(parse[0].value.cols).toEqual([
{ type: "separator", separator: "|" },
{ type: "align", align: "l" },
{ type: "separator", separator: "|" },
{ type: "separator", separator: "|" },
{ type: "align", align: "c" },
{ type: "separator", separator: "|" },
{type: "separator", separator: "|"},
{type: "align", align: "l"},
{type: "separator", separator: "|"},
{type: "separator", separator: "|"},
{type: "align", align: "c"},
{type: "separator", separator: "|"},
]);
});