From 6bef85a8fde03b50de4aa78064ab4c32ad54041c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 19 Nov 2016 12:03:32 +0000 Subject: Introduce matcher for style name --- test/style-reader.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/style-reader.tests.js') 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")}) ); }, -- cgit v1.2.3