fixed test

This commit is contained in:
Dolan Miu
2016-04-25 01:11:06 +01:00
parent 9c358eae85
commit 52fcbc56d9

View File

@ -42,7 +42,7 @@ describe("Formatter", () => {
var newJson = formatter.format(paragraph); var newJson = formatter.format(paragraph);
newJson = jsonify(newJson); newJson = jsonify(newJson);
console.log(JSON.stringify(newJson, null, " ")); 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)", () => { it("should format attributes (rsidSect)", () => {