diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-01 12:28:21 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-01 12:28:21 +0100 |
| commit | ae79414cfbedc7e630cdc5f3955bb49ee64c732e (patch) | |
| tree | 178a8c989282522903077d02d812632336af63e2 /tests | |
| parent | d99c29f5bf1b597f7fb2c823d7894032f6c17010 (diff) | |
Simplify reading of paragraph properties
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/docx-reader.tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docx-reader.tests.js b/tests/docx-reader.tests.js index d22cd42..c4969be 100644 --- a/tests/docx-reader.tests.js +++ b/tests/docx-reader.tests.js @@ -33,7 +33,7 @@ describe("docx-reader", function() { }); return docxReader.read(docxFile).then(function(result) { var paragraph = result.children[0]; - assert.deepEqual({styleName: "Heading1"}, paragraph.properties); + assert.deepEqual("Heading1", paragraph.properties.styleName); }); }); |
