From 52fcbc56d922ee9e3f58ce993f82d1d92109221d Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 25 Apr 2016 01:11:06 +0100 Subject: [PATCH] fixed test --- ts/tests/formatterTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/tests/formatterTest.ts b/ts/tests/formatterTest.ts index 0369510ec3..8b8494cf82 100644 --- a/ts/tests/formatterTest.ts +++ b/ts/tests/formatterTest.ts @@ -42,7 +42,7 @@ describe("Formatter", () => { var newJson = formatter.format(paragraph); newJson = jsonify(newJson); console.log(JSON.stringify(newJson, null, " ")); - assert.isDefined(newJson["w:p"][3]["w:r"][0]["w:rPr"][0]["w:b"][0]["_attr"]["w:val"]); + assert.isDefined(newJson["w:p"][1]["w:r"][0]["w:rPr"][0]["w:b"][0]["_attr"]["w:val"]); }); it("should format attributes (rsidSect)", () => {