aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
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")})
);
},