diff options
Diffstat (limited to 'tests/styles/parser')
| -rw-r--r-- | tests/styles/parser/document_matcher_parser_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/styles/parser/document_matcher_parser_tests.py b/tests/styles/parser/document_matcher_parser_tests.py index e34bb79..bec2368 100644 --- a/tests/styles/parser/document_matcher_parser_tests.py +++ b/tests/styles/parser/document_matcher_parser_tests.py @@ -33,7 +33,7 @@ def reads_paragraph_with_style_id(): @istest def reads_paragraph_with_exact_style_name(): assert_equal( - document_matchers.paragraph(style_name="Heading 1"), + document_matchers.paragraph(style_name=document_matchers.equal_to("Heading 1")), read_document_matcher("p[style-name='Heading 1']") ) @@ -79,7 +79,7 @@ def reads_run_with_style_id(): @istest def reads_run_with_style_name(): assert_equal( - document_matchers.run(style_name="Emphasis"), + document_matchers.run(style_name=document_matchers.equal_to("Emphasis")), read_document_matcher("r[style-name='Emphasis']") ) |
