aboutsummaryrefslogtreecommitdiff
path: root/tests/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 13:41:52 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 13:41:52 +0100
commit86d2aaed235cd354884d7e71ec4543f4c97e2c8b (patch)
tree02eb94567b79a9736bc69c2749362045892b667c /tests/style-reader.tests.js
parentec837dc5c639efa92fb676dc90c008ad7cfff58e (diff)
Always create paragraph matcher with options object
Diffstat (limited to 'tests/style-reader.tests.js')
-rw-r--r--tests/style-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js
index 7fff059..50986e5 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -58,7 +58,7 @@ describe("styleReader.readDocumentMatcher", function() {
test("reads paragraph with style ID", function() {
assert.deepEqual(
readDocumentMatcher("p.Heading1"),
- documentMatchers.paragraph("Heading1")
+ documentMatchers.paragraph({styleId: "Heading1"})
);
});