aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-19 12:03:32 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-19 12:03:32 +0000
commit6bef85a8fde03b50de4aa78064ab4c32ad54041c (patch)
tree84bc1ab1c337f0ca045b1cb34487ec07f4c84c76 /test/style-reader.tests.js
parent68d8c8140fb6ef1118fa2815243817f8e4f55b59 (diff)
Introduce matcher for style name
Diffstat (limited to 'test/style-reader.tests.js')
-rw-r--r--test/style-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js
index 372e649..85b85f1 100644
--- a/test/style-reader.tests.js
+++ b/test/style-reader.tests.js
@@ -99,7 +99,7 @@ test("styleReader.readDocumentMatcher", {
"reads paragraph with style name": function() {
assertDocumentMatcher(
"p[style-name='Heading 1']",
- documentMatchers.paragraph({styleName: "Heading 1"})
+ documentMatchers.paragraph({styleName: documentMatchers.equalTo("Heading 1")})
);
},