aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 14:03:25 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 14:03:25 +0100
commit5c96af60296441d781a78c1a0b2ee264f7b126f5 (patch)
tree08584e574196ae693d8421ab0b01a2a8d240f4fe /tests
parent12942365ea7a32ffb5945828651c5cab1d12d1c8 (diff)
Use "style-name" instead of "styleName" in document matchers
Diffstat (limited to 'tests')
-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 2ef6acf..d9efe01 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -64,7 +64,7 @@ describe("styleReader.readDocumentMatcher", function() {
test("reads paragraph with style name", function() {
assert.deepEqual(
- readDocumentMatcher("p[styleName='Heading 1']"),
+ readDocumentMatcher("p[style-name='Heading 1']"),
documentMatchers.paragraph({styleName: "Heading 1"})
);
});