aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-01 12:28:21 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-01 12:28:21 +0100
commitae79414cfbedc7e630cdc5f3955bb49ee64c732e (patch)
tree178a8c989282522903077d02d812632336af63e2 /tests
parentd99c29f5bf1b597f7fb2c823d7894032f6c17010 (diff)
Simplify reading of paragraph properties
Diffstat (limited to 'tests')
-rw-r--r--tests/docx-reader.tests.js2
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);
});
});