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)", () => {